From cf3c970a77f335e6131895e201aaa64470bb0155 Mon Sep 17 00:00:00 2001 From: Vu Cong Tuan Date: Tue, 30 May 2017 14:25:21 +0700 Subject: [PATCH] Trivial fix typos Change-Id: I7e1e3b2f92183b2a249299659f0778fe838212e2 --- swift/common/ring/composite_builder.py | 2 +- test/probe/brain.py | 2 +- test/probe/test_replication_servers_working.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/swift/common/ring/composite_builder.py b/swift/common/ring/composite_builder.py index e0002790a0..5828670534 100644 --- a/swift/common/ring/composite_builder.py +++ b/swift/common/ring/composite_builder.py @@ -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) diff --git a/test/probe/brain.py b/test/probe/brain.py index 3a63b18565..843754210e 100644 --- a/test/probe/brain.py +++ b/test/probe/brain.py @@ -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) diff --git a/test/probe/test_replication_servers_working.py b/test/probe/test_replication_servers_working.py index 2e760fcd04..4721c82ad6 100644 --- a/test/probe/test_replication_servers_working.py +++ b/test/probe/test_replication_servers_working.py @@ -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