]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/volumes: fix arg typo '.' -> ','
authorMichael Fritch <mfritch@suse.com>
Tue, 3 Mar 2020 15:18:36 +0000 (08:18 -0700)
committerMichael Fritch <mfritch@suse.com>
Thu, 5 Mar 2020 20:19:32 +0000 (13:19 -0700)
fixes mypy error:

volumes/fs/fs_util.py: note: In function "get_ancestor_xattr":
volumes/fs/fs_util.py:129: error: Too few arguments for "VolumeException"

Fixes: https://tracker.ceph.com/issues/44393
Signed-off-by: Michael Fritch <mfritch@suse.com>
src/pybind/mgr/volumes/fs/fs_util.py

index 22508b1586fcc97f24db0027ad6f064a387688aa..dc1c79196b298a0843c8318aa604143f82869064 100644 (file)
@@ -127,6 +127,6 @@ def get_ancestor_xattr(fs, path, attr):
         return fs.getxattr(path, attr).decode('utf-8')
     except cephfs.NoData as e:
         if path == "/":
-            raise VolumeException(-e.args[0]. e.args[1])
+            raise VolumeException(-e.args[0], e.args[1])
         else:
             return get_ancestor_xattr(fs, os.path.split(path)[0], attr)