Fix provider security group exception call
Change-Id: I02de68b4b457757ccd1c25535e8d2dd4d732ee36
This commit is contained in:
parent
214d7e831e
commit
a3e44a2c49
|
@ -188,7 +188,7 @@ class ExtendedSecurityGroupPropertiesMixin(object):
|
|||
# security-group belongs to the same tenant this request is made for.
|
||||
sg = self.get_security_group(context, security_group_id)
|
||||
if not sg[provider_sg.PROVIDER]:
|
||||
raise provider_sg.SecurityGroupNotProvider(id=sg)
|
||||
raise provider_sg.SecurityGroupNotProvider(id=security_group_id)
|
||||
|
||||
def _check_invalid_security_groups_specified(self, context, port,
|
||||
only_warn=False):
|
||||
|
|
Loading…
Reference in New Issue