]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
[RM-11694] Remove extraneous line
authorTravis Rhoden <trhoden@redhat.com>
Thu, 21 May 2015 20:09:29 +0000 (16:09 -0400)
committerTravis Rhoden <trhoden@redhat.com>
Thu, 21 May 2015 20:09:29 +0000 (16:09 -0400)
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 <trhoden@redhat.com>
ceph_deploy/admin.py

index 6bea0dda6fc9b875825d30187e2dcafaf2bc482d..23276600d86a99ad62b84fe98b7bd1ff27d52a3a 100644 (file)
@@ -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,