From: Michael Fritch Date: Tue, 28 Jan 2020 22:35:51 +0000 (-0700) Subject: cephadm: use keyword instead of positional args X-Git-Tag: v15.1.1~21^2~17 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cbb79b4c3500db0d93894a966f1acf4968a184a3;p=ceph.git cephadm: use keyword instead of positional args Signed-off-by: Michael Fritch --- diff --git a/src/cephadm/cephadm b/src/cephadm/cephadm index c49e3abb5b2a..a835bf9b2b03 100755 --- a/src/cephadm/cephadm +++ b/src/cephadm/cephadm @@ -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, - config, keyring, + config=config, keyring=keyring, osd_fsid=args.osd_fsid, reconfig=args.reconfig)