From ab240e32061ba5f89fca3d145fa229e8c8284edd Mon Sep 17 00:00:00 2001 From: Travis Rhoden Date: Thu, 21 May 2015 16:09:29 -0400 Subject: [PATCH] [RM-11694] Remove extraneous line No need to get to the shortname of the host -- it was never used and was also overwriting the variable used in the loop. Signed-off-by: Travis Rhoden --- ceph_deploy/admin.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ceph_deploy/admin.py b/ceph_deploy/admin.py index 6bea0dd..2327660 100644 --- a/ceph_deploy/admin.py +++ b/ceph_deploy/admin.py @@ -27,7 +27,6 @@ def admin(args): LOG.debug('Pushing admin keys and conf to %s', hostname) try: distro = hosts.get(hostname, username=args.username) - hostname = distro.conn.remote_module.shortname() distro.conn.remote_module.write_conf( args.cluster, -- 2.47.3