Backport #40338
Updated by Nathan Cutler almost 5 years ago
https://github.com/ceph/ceph/pull/28429 I'm getting a new mypy error in master:
<pre>
pybind/mgr/volumes/module.py: note: In member "_cmd_fs_subvolumegroup_snapshot_rm" of class "Module":
pybind/mgr/volumes/module.py:552: error: Name 'sub_name' is not defined
</pre>
Regression of https://github.com/ceph/ceph/pull/27594
<pre>
pybind/mgr/volumes/module.py: note: In member "_cmd_fs_subvolumegroup_snapshot_rm" of class "Module":
pybind/mgr/volumes/module.py:552: error: Name 'sub_name' is not defined
</pre>
Regression of https://github.com/ceph/ceph/pull/27594