]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: use keyword instead of positional args
authorMichael Fritch <mfritch@suse.com>
Tue, 28 Jan 2020 22:35:51 +0000 (15:35 -0700)
committerMichael Fritch <mfritch@suse.com>
Thu, 12 Mar 2020 14:03:18 +0000 (08:03 -0600)
Signed-off-by: Michael Fritch <mfritch@suse.com>
src/cephadm/cephadm

index c49e3abb5b2a9b57eee30d1eb0318c0cfeaf4a38..a835bf9b2b03cf63ca8c9547057cdf4e0d2036f0 100755 (executable)
@@ -1974,7 +1974,8 @@ def command_bootstrap():
     logger.info('Creating mgr...')
     mgr_keyring = '[mgr.%s]\n\tkey = %s\n' % (mgr_id, mgr_key)
     mgr_c = get_container(fsid, 'mgr', mgr_id)
-    deploy_daemon(fsid, 'mgr', mgr_id, mgr_c, uid, gid, config, mgr_keyring)
+    deploy_daemon(fsid, 'mgr', mgr_id, mgr_c, uid, gid,
+                  config=config, keyring=mgr_keyring)
 
     # output files
     with open(args.output_keyring, 'w') as f:
@@ -2145,7 +2146,7 @@ def command_deploy():
         make_var_run(args.fsid, uid, gid)
         c = get_container(args.fsid, daemon_type, daemon_id)
         deploy_daemon(args.fsid, daemon_type, daemon_id, c, uid, gid,
-                      configkeyring,
+                      config=config, keyring=keyring,
                       osd_fsid=args.osd_fsid,
                       reconfig=args.reconfig)