]> 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>
Mon, 16 Jan 2017 08:24:37 +0000 (13:54 +0530)
It needs to be an instance method.

Fixes: http://tracker.ceph.com/issues/17216
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit 675cb91b68c1b54698708d604253ab9d1b2abdec)

src/pybind/ceph_volume_client.py

index aa6315787ccdaa063c2399c89efae045d7c042f4..6182706dcf9ae0be8aa0b14b4bb4946f3e2ba652 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.
         """