Merge "Network: fix typo"
This commit is contained in:
@@ -596,7 +596,7 @@ class API(base_api.NetworkAPI):
|
|||||||
if port_security_enabled:
|
if port_security_enabled:
|
||||||
if not network.get('subnets'):
|
if not network.get('subnets'):
|
||||||
# Neutron can't apply security groups to a port
|
# Neutron can't apply security groups to a port
|
||||||
# for a network without L3 assignements.
|
# for a network without L3 assignments.
|
||||||
raise exception.SecurityGroupCannotBeApplied()
|
raise exception.SecurityGroupCannotBeApplied()
|
||||||
else:
|
else:
|
||||||
if security_group_ids:
|
if security_group_ids:
|
||||||
|
|||||||
Reference in New Issue
Block a user