From: Ramana Raja Date: Sun, 23 Jun 2019 16:23:16 +0000 (+0530) Subject: mgr/volumes: fix incorrect VolumeException arguments X-Git-Tag: v14.2.2~13^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=349dc2071323b7d0e2dbefe2f73b74df78ce4c0f;p=ceph.git mgr/volumes: fix incorrect VolumeException arguments Fixes: http://tracker.ceph.com/issues/40429 Signed-off-by: Ramana Raja (cherry picked from commit 695c493257c7e9ae4c2229926393f6487a622616) --- diff --git a/src/pybind/mgr/volumes/fs/subvolume.py b/src/pybind/mgr/volumes/fs/subvolume.py index ee49edbcf2e58..dba8201419acb 100644 --- a/src/pybind/mgr/volumes/fs/subvolume.py +++ b/src/pybind/mgr/volumes/fs/subvolume.py @@ -168,7 +168,7 @@ class SubVolume(object): except cephfs.ObjectNotFound: return None except cephfs.Error as e: - raise VolumeException(e.args[0]. e.args[1]) + raise VolumeException(e.args[0], e.args[1]) return path ### group operations