]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph_manager: fix do_get to actually do a get
authorSamuel Just <sjust@redhat.com>
Mon, 4 Apr 2016 17:51:12 +0000 (10:51 -0700)
committerSamuel Just <sjust@redhat.com>
Thu, 7 Apr 2016 22:35:30 +0000 (15:35 -0700)
Currently unused.

Signed-off-by: Samuel Just <sjust@redhat.com>
tasks/ceph_manager.py

index 378a9ece3ef5cb81633a1b07a1fc2e6cd62064d8..67b1b70ecf65e12b195596a288e9f81debc54b3a 100644 (file)
@@ -892,16 +892,16 @@ class CephManager:
         """
         Implement rados get operation
         """
+        args = ['-p', pool]
+        args += [
+            'get',
+            obj,
+            fname
+        ]
         return self.do_rados(
             self.controller,
-            [
-                '-p',
-                pool,
-                'stat',
-                obj,
-                fname
-                ]
-            )
+            args
+        )
 
     def osd_admin_socket(self, osd_id, command, check_status=True):
         return self.admin_socket('osd', osd_id, command, check_status)