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
This commit is contained in:
parent
72da3597e4
commit
21a664fd28
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user