fixes mypy error:
volumes/fs/operations/group.py: note: In function "create_group":
volumes/fs/operations/group.py:135: error: Not all arguments converted during string formatting
Fixes: https://tracker.ceph.com/issues/44393
Signed-off-by: Michael Fritch <mfritch@suse.com>
log.debug("cleaning up subvolume group path: {0}".format(path))
fs.rmdir(path)
except cephfs.Error as ce:
- log.debug("failed to clean up subvolume group {0} with path: {0} ({1})".format(groupname, path, ce))
+ log.debug("failed to clean up subvolume group {0} with path: {1} ({2})".format(groupname, path, ce))
if isinstance(e, cephfs.Error):
e = VolumeException(-e.args[0], e.args[1])
raise e