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
This commit is contained in:
tengqm
2015-09-10 04:42:16 -04:00
parent 7d28037fff
commit e96641b77f

View File

@@ -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),
}