Merge "Trivial fix typos"

This commit is contained in:
Jenkins
2017年06月01日 03:09:01 +00:00
committed by Gerrit Code Review

View File

@@ -154,7 +154,7 @@ def pre_validate_all_builders(builders):
if inter:
raise ValueError('Same region found in different rings')
# check device uniquness
# check device uniqueness
check_for_dev_uniqueness(builders)

View File

@@ -96,7 +96,7 @@ class BrainSplitter(object):
policy.load_ring('/etc/swift')
self.ring = policy.object_ring
else:
raise ValueError('Unkonwn server_type: %r' % server_type)
raise ValueError('Unknown server_type: %r' % server_type)
self.server_type = server_type
part, nodes = self.ring.get_nodes(self.account, c, o)

View File

@@ -55,7 +55,7 @@ def find_max_occupancy_node(dir_list):
"""
Find node with maximum occupancy.
:param list_dir: list of directories for each node.
:param dir_list: list of directories for each node.
:return: number number node in list_dir
"""
count = 0
Reference in New Issue
openstack/swift
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.

The note is not visible to the blocked user.