'''
try:
use_fs = fs if fs else self.default_fs
- abs_path = self.resolve_subvolume_path(fs, subvol, path)
+ abs_path = self.resolve_subvolume_path(use_fs, subvol, path)
self.client.store_snap_schedule(use_fs,
abs_path,
(abs_path, snap_schedule,
'''
try:
use_fs = fs if fs else self.default_fs
- abs_path = self.resolve_subvolume_path(fs, subvol, path)
+ abs_path = self.resolve_subvolume_path(use_fs, subvol, path)
self.client.rm_snap_schedule(use_fs, abs_path, repeat, start)
except CephfsConnectionException as e:
return e.to_tuple()
'''
try:
use_fs = fs if fs else self.default_fs
- abs_path = self.resolve_subvolume_path(fs, subvol, path)
+ abs_path = self.resolve_subvolume_path(use_fs, subvol, path)
self.client.add_retention_spec(use_fs, abs_path,
retention_spec_or_period,
retention_count)
'''
try:
use_fs = fs if fs else self.default_fs
- abs_path = self.resolve_subvolume_path(fs, subvol, path)
+ abs_path = self.resolve_subvolume_path(use_fs, subvol, path)
self.client.rm_retention_spec(use_fs, abs_path,
retention_spec_or_period,
retention_count)
'''
try:
use_fs = fs if fs else self.default_fs
- abs_path = self.resolve_subvolume_path(fs, subvol, path)
+ abs_path = self.resolve_subvolume_path(use_fs, subvol, path)
self.client.activate_snap_schedule(use_fs, abs_path, repeat, start)
except CephfsConnectionException as e:
return e.to_tuple()
'''
try:
use_fs = fs if fs else self.default_fs
- abs_path = self.resolve_subvolume_path(fs, subvol, path)
+ abs_path = self.resolve_subvolume_path(use_fs, subvol, path)
self.client.deactivate_snap_schedule(use_fs, abs_path, repeat, start)
except CephfsConnectionException as e:
return e.to_tuple()