]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/snap-schedule: use use_fs if fs is not specified
authorKefu Chai <kchai@redhat.com>
Fri, 29 Jan 2021 06:52:25 +0000 (14:52 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 29 Jan 2021 11:42:32 +0000 (19:42 +0800)
commite9e4ae837830665e9c673f649c936990d6648986
treeaef98435516259087ff58eda4dc75d12760de59e
parent52d17e5852da9a01a47fece2f74c5d7d65541f1a
pybind/mgr/snap-schedule: use use_fs if fs is not specified

the "vol_name" parameter of "fs subvolume getpath" command is not
optional, so we have to pass an fs name to it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/pybind/mgr/snap_schedule/module.py