]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Wrong usage of "an"
authorhgangwx <hgangwx@cn.ibm.com>
Mon, 28 Dec 2015 07:22:04 +0000 (15:22 +0800)
committerhgangwx <hgangwx@cn.ibm.com>
Tue, 29 Dec 2015 17:15:56 +0000 (01:15 +0800)
Wrong usage of "an" in the messages:
"Gets called when an port gets added to or removed"
"Create an command to add an OVS bridge"

Should be:
"Gets called when a port gets added to or removed"
"Create a command to add an OVS bridge"

Totally 2 occurrences in Neutron base code.

Change-Id: I40756ed3eff7d2f672b2e0203b59ea5b8ff224c3

neutron/agent/firewall.py
neutron/agent/ovsdb/api.py

index 04a327b21df66f01bd77898c2d6275592634d4ab..d052091fdb8fc671d604f68a106118122a8ab270 100644 (file)
@@ -77,7 +77,7 @@ class FirewallDriver(object):
     def update_port_filter(self, port):
         """Refresh security group rules from data store
 
-        Gets called when an port gets added to or removed from
+        Gets called when a port gets added to or removed from
         the security group the port is a member of or if the
         group gains or looses a rule.
         """
index 23ae9b4bae7fc241bb0d2244193f9523b3d55987..5a21782287ff91e3d21a9a6793992e39286e5e7a 100644 (file)
@@ -102,7 +102,7 @@ class API(object):
 
     @abc.abstractmethod
     def add_br(self, name, may_exist=True, datapath_type=None):
-        """Create an command to add an OVS bridge
+        """Create a command to add an OVS bridge
 
         :param name:            The name of the bridge
         :type name:             string