From 349dc2071323b7d0e2dbefe2f73b74df78ce4c0f Mon Sep 17 00:00:00 2001 From: Ramana Raja Date: Sun, 23 Jun 2019 21:53:16 +0530 Subject: [PATCH] mgr/volumes: fix incorrect VolumeException arguments Fixes: http://tracker.ceph.com/issues/40429 Signed-off-by: Ramana Raja (cherry picked from commit 695c493257c7e9ae4c2229926393f6487a622616) --- src/pybind/mgr/volumes/fs/subvolume.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/volumes/fs/subvolume.py b/src/pybind/mgr/volumes/fs/subvolume.py index ee49edbcf2e..dba8201419a 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 -- 2.47.3