]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph_volume_client: fix _recover_auth_meta() method
authorRamana Raja <rraja@redhat.com>
Tue, 4 Oct 2016 11:20:13 +0000 (16:50 +0530)
committerRamana Raja <rraja@redhat.com>
Tue, 4 Oct 2016 11:21:56 +0000 (16:51 +0530)
It needs to be an instance method.

Fixes: http://tracker.ceph.com/issues/17216
Signed-off-by: Ramana Raja <rraja@redhat.com>
src/pybind/ceph_volume_client.py

index 1f653edd63ca9966a3d02d375e241dda6d955b72..e0939de3d545f3576c0febf7f3e8c68d98c07616 100644 (file)
@@ -318,7 +318,7 @@ class CephFSVolumeClient(object):
 
         log.debug("Recovered from partial auth updates (if any).")
 
-    def _recover_auth_meta(auth_id, auth_meta):
+    def _recover_auth_meta(self, auth_id, auth_meta):
         """
         Call me after locking the auth meta file.
         """