Fix provider security group exception call

Change-Id: I02de68b4b457757ccd1c25535e8d2dd4d732ee36
This commit is contained in:
Adit Sarfaty 2019-02-19 13:22:11 +02:00
parent 214d7e831e
commit a3e44a2c49
1 changed files with 1 additions and 1 deletions

View File

@ -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):