]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/volumes: remove unsed variable
authorJoshua Schmid <jschmid@suse.de>
Thu, 21 Nov 2019 11:54:19 +0000 (12:54 +0100)
committerRamana Raja <rraja@redhat.com>
Wed, 12 Feb 2020 10:11:59 +0000 (05:11 -0500)
Signed-off-by: Joshua Schmid <jschmid@suse.de>
(cherry picked from commit 2f705ee69bbad22c1744905276527c3515877caf)

src/pybind/mgr/volumes/module.py

index a4fdef5981b9d1995c36b789a44e9f3247a95830..acd842b93e6f3dfe87ed08e6c5ba510edf4789b8 100644 (file)
@@ -232,7 +232,6 @@ class Module(orchestrator.OrchestratorClientMixin, MgrModule):
                                               force=cmd.get('force', False))
 
     def _cmd_fs_subvolumegroup_ls(self, inbuf, cmd):
-        vol_name = cmd['vol_name']
         return self.vc.list_subvolume_groups(None, vol_name=cmd['vol_name'])
 
     def _cmd_fs_subvolume_create(self, inbuf, cmd):