Merge "Fix provider security group exception call"

This commit is contained in:
Zuul 2019-02-20 06:58:27 +00:00 committed by Gerrit Code Review
commit 7997fdbd65
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):