Bug #46406
closed
pybind/mgr/balancer: should use "==" and "!=" for comparing strings
Added by Kefu Chai almost 4 years ago.
Updated 9 months ago.
Backport:
nautilus, octopus
Description
"is" is just not correct. as we cannot guarantee that two strings with the same value share the same identity.
- Status changed from Fix Under Review to Pending Backport
- Copied to Backport #46460: octopus: pybind/mgr/balancer: should use "==" and "!=" for comparing strings added
- Copied to Backport #46461: nautilus: pybind/mgr/balancer: should use "==" and "!=" for comparing strings added
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
- Project changed from RADOS to mgr
- Category set to balancer module
- % Done changed from 0 to 100
- Source set to Q/A
Also available in: Atom
PDF