Skip to content

Commit

Permalink
name update is handled.
Browse files Browse the repository at this point in the history
with this fix name update can be done
for lbaasv1 vip and lbaas v2 loadbalancer/listener/pool

Change-Id: I3de6e159f532d8e5e2c4fc886e2df51a79633d91
Closes-bug: 1376117
  • Loading branch information
ymariappan committed Jul 11, 2016
1 parent 7de7fe4 commit d6d4f63
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -291,6 +291,10 @@ def update(self, context, id, resource):
obj.set_id_perms(id_perms)
update = True

if 'name' in r and r['name'] != obj.get_display_name():
obj.set_display_name(r['name'])
update = True

if self.update_properties(obj, id, r):
update = True
if self.update_object(obj, id, r):
Expand Down

0 comments on commit d6d4f63

Please sign in to comment.