From 0175bc6578758eaba077caf9d3be89a835fc864d Mon Sep 17 00:00:00 2001 From: tengqm Date: Wed, 25 Feb 2015 19:35:39 +0800 Subject: [PATCH] Fix user name argument parsing --- senlinclient/shell.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/senlinclient/shell.py b/senlinclient/shell.py index 3a718e47..bd7fee8a 100644 --- a/senlinclient/shell.py +++ b/senlinclient/shell.py @@ -209,6 +209,7 @@ class SenlinShell(object): def _setup_senlin_client(self, api_ver, args): '''Create senlin client using given args.''' + print(args.username) kwargs = { 'auth_plugin': args.auth_plugin, 'auth_url': args.auth_url, @@ -220,7 +221,7 @@ class SenlinShell(object): 'project_domain_id': args.project_domain_id, 'user_domain_name': args.user_domain_name, 'user_domain_id': args.user_domain_id, - 'user_name': args.username, + 'username': args.username, 'user_id': args.user_id, 'password': args.password, 'verify': args.verify,