Merge "Trival fix some typo"

This commit is contained in:
Jenkins 2016-12-23 06:22:01 +00:00 committed by Gerrit Code Review
commit 7d0ff743c1
5 changed files with 5 additions and 5 deletions

View File

@ -26,7 +26,7 @@ if [ ! -r admin-openrc.sh ];then
exit 1
fi
echo "Begining the verify testing..."
echo "Beginning the verify testing..."
echo "Import client environment variables:"
source $TEST_DIR/admin-openrc.sh

View File

@ -122,7 +122,7 @@ class RoutingController(rest.RestController):
if not policy.enforce(context, policy.ADMIN_API_ROUTINGS_LIST):
return utils.format_api_error(
403, _('Unauthorized to to show all resource routings'))
403, _('Unauthorized to show all resource routings'))
filters = self._get_filters(kwargs)
filters = [{'key': key,

View File

@ -571,7 +571,7 @@ class NetworkHelper(object):
@staticmethod
def get_create_sg_rule_body(rule, sg_id, ip=None):
ip = ip or rule['remote_ip_prefix']
# if ip is passed, this is a extended rule for remote group
# if ip is passed, this is an extended rule for remote group
return {'security_group_rule': {
'tenant_id': rule['tenant_id'],
'remote_group_id': None,

View File

@ -1513,7 +1513,7 @@ class PluginTest(unittest.TestCase,
for net in TOP_NETS:
if net['name'].startswith('ns_bridge'):
t_ns_bridge_net_id = net['id']
# N-S bridge not created since no extenal network created
# N-S bridge not created since no external network created
self.assertIsNone(t_ns_bridge_net_id)
device_ids = ['', '', '']

View File

@ -672,7 +672,7 @@ class XManager(PeriodicTasks):
@staticmethod
def _construct_bottom_rule(rule, sg_id, ip=None):
ip = ip or rule['remote_ip_prefix']
# if ip is passed, this is a extended rule for remote group
# if ip is passed, this is an extended rule for remote group
return {'remote_group_id': None,
'direction': rule['direction'],
'remote_ip_prefix': ip,