]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: Remove enum usage in code for Py2 support 36166/head
authorShyamsundar Ranganathan <srangana@redhat.com>
Mon, 20 Jul 2020 12:32:43 +0000 (08:32 -0400)
committerShyamsundar Ranganathan <srangana@redhat.com>
Mon, 20 Jul 2020 12:32:43 +0000 (08:32 -0400)
commitd89e05461be0e307cb23eb450a5f9c72776ba03d
tree6241a31c5771a15ec8e7f5357e7fe36496c562cd
parentc00ca113154aefe6787c883106559fa7f0947482
mgr/volumes: Remove enum usage in code for Py2 support

SubvolumeFeatures uses an enum for the feature list, this is
replaced with a constant instead.

Signed-off-by: Shyamsundar Ranganathan <srangana@redhat.com>
src/pybind/mgr/volumes/fs/operations/versions/subvolume_base.py
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py