]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/ceph.py: remove unused variables 31005/head
authorKefu Chai <kchai@redhat.com>
Mon, 21 Oct 2019 04:37:56 +0000 (12:37 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 21 Oct 2019 04:37:56 +0000 (12:37 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/tasks/ceph.py

index 1be207d2d5d494314d0b59b88b6c12246c676138..49818950acdab5c27324f8d511aca152077a8566 100644 (file)
@@ -433,7 +433,6 @@ def get_mons(roles, ips, cluster_name,
     mons = {}
     v1_ports = {}
     v2_ports = {}
-    mon_id = 0
     is_mon = teuthology.is_type('mon', cluster_name)
     for idx, roles in enumerate(roles):
         for role in roles:
@@ -465,7 +464,6 @@ def get_mons(roles, ips, cluster_name,
                     ip=ips[idx],
                     port=v1_ports[ips[idx]],
                 )
-            mon_id += 1
             mons[role] = addr
     assert mons
     return mons