]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-deploy.git/commitdiff
[RM-12150] Don't create new list from mon_host when we already have one
authorTravis Rhoden <trhoden@redhat.com>
Wed, 1 Jul 2015 20:12:00 +0000 (13:12 -0700)
committerTravis Rhoden <trhoden@redhat.com>
Mon, 6 Jul 2015 16:39:36 +0000 (09:39 -0700)
Signed-off-by: Travis Rhoden <trhoden@redhat.com>
ceph_deploy/mon.py

index ab46574de417bc2bd6ed372a4a6a266a78cb888c..dd880aec6ae103c19648de61c7a9a6443001bf85 100644 (file)
@@ -185,7 +185,7 @@ def mon_add(args):
         )
 
     LOG.info('ensuring configuration of new mon host: %s', mon_host)
-    args.client = [mon_host]
+    args.client = args.mon
     admin.admin(args)
     LOG.debug(
         'Adding mon to cluster %s, host %s',