Merge "Network: fix typo"

This commit is contained in:
Jenkins
2016-06-07 18:45:15 +00:00
committed by Gerrit Code Review

View File

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