From: Kefu Chai Date: Mon, 21 Oct 2019 04:37:56 +0000 (+0800) Subject: qa/tasks/ceph.py: remove unused variables X-Git-Tag: v15.1.0~1154^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=02a2a04ad23411361900770ea75b2a622ec579cd;p=ceph.git qa/tasks/ceph.py: remove unused variables Signed-off-by: Kefu Chai --- diff --git a/qa/tasks/ceph.py b/qa/tasks/ceph.py index 1be207d2d5d4..49818950acda 100644 --- a/qa/tasks/ceph.py +++ b/qa/tasks/ceph.py @@ -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