]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/volumes: use = for equality comparision 38056/head
authorKefu Chai <kchai@redhat.com>
Fri, 13 Nov 2020 05:33:03 +0000 (13:33 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 13 Nov 2020 06:18:19 +0000 (14:18 +0800)
commitdb057d5938cca5202a3569f9164635069e1f1331
treee8e2134d0ec8181a0f875c39713b23521023fdaf
parent9929588ce33aa9d87a515b416a78fd6674a34a04
pybind/mgr/volumes: use = for equality comparision

should not rely on the internal implementation of Python to check the
equality of two strings.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py