]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tasks/mgr: remove duplicated method definition
authorJohn Spray <john.spray@redhat.com>
Sun, 6 Nov 2016 10:58:33 +0000 (10:58 +0000)
committerJohn Spray <john.spray@redhat.com>
Sun, 6 Nov 2016 10:58:33 +0000 (10:58 +0000)
This was already defined in parent CephCluster class.

Signed-off-by: John Spray <john.spray@redhat.com>
tasks/mgr/mgr_test_case.py

index 444a14e55ccb45b02715cb4a7cae7f4505db7c2d..26b0971d65ec2777d76a838a33b7fab9660a2d4d 100644 (file)
@@ -22,12 +22,6 @@ class MgrCluster(CephCluster):
             [(mgr_id, self._ctx.daemons.get_daemon('mgr', mgr_id)) for mgr_id
              in self.mgr_ids])
 
-    @property
-    def admin_remote(self):
-        first_mon = misc.get_first_mon(self._ctx, None)
-        (result,) = self._ctx.cluster.only(first_mon).remotes.iterkeys()
-        return result
-
     def mgr_stop(self, mgr_id):
         self.mgr_daemons[mgr_id].stop()