From 21a664fd28865867a6030bbb5cd4a82923df3d16 Mon Sep 17 00:00:00 2001 From: Haiwei Xu Date: Wed, 22 Jul 2015 19:31:05 +0900 Subject: [PATCH] Fix profile name update error When the profile's name is changed, senlin still uses the old name to output the profile's details. This patch fixes this bug. Change-Id: I8490522546641dc82106a3b6efae0951a56b2733 Closes-Bug: #1477075 --- 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 885db232..c30e4d05 100644 --- a/senlinclient/v1/shell.py +++ b/senlinclient/v1/shell.py @@ -189,7 +189,7 @@ def do_profile_update(sc, args): params['id'] = profile.id sc.update(models.Profile, params) - _show_profile(sc, args.id) + _show_profile(sc, profile.id) @utils.arg('-f', '--force', default=False, action="store_true",