Merge "Fix the attribute to look up security group ids of a port (2)"
This commit is contained in:
commit
7baca03931
@ -374,7 +374,7 @@ class UpdatePortSecurityGroupAction(sg_base.BaseSecurityGroupsAction):
|
||||
def _get_initial_security_groups(self, context):
|
||||
port_id = context.get('port_id', '')
|
||||
port = api.neutron.port_get(self.request, port_id)
|
||||
return port.security_groups
|
||||
return port.security_group_ids
|
||||
|
||||
class Meta(object):
|
||||
name = _("Security Groups")
|
||||
|
Loading…
x
Reference in New Issue
Block a user