From e96641b77f4e19072f8a54507096d66c7b5e3896 Mon Sep 17 00:00:00 2001 From: tengqm Date: Thu, 10 Sep 2015 04:42:16 -0400 Subject: [PATCH] Fix node-update behavior Previously node-update was not working before we were passing 'profile_id' as 'profile'. This patch fixes it. Change-Id: Ia14d82a9b7b4226145e651def6fac3dad75eb44a --- senlinclient/v1/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/senlinclient/v1/shell.py b/senlinclient/v1/shell.py index a6650d9f..843e0d39 100644 --- a/senlinclient/v1/shell.py +++ b/senlinclient/v1/shell.py @@ -1279,7 +1279,7 @@ def do_node_update(sc, args): 'id': node.id, 'name': args.name, 'role': args.role, - 'profile': args.profile, + 'profile_id': args.profile, 'metadata': utils.format_parameters(args.metadata), }