fix word spelling mistake

Change-Id: Ia7b03e52b8d6a334fc2b67c94912effe0e659941
This commit is contained in:
zheng yin 2016-09-30 11:11:20 +08:00
parent 8526d4c5d2
commit 05642d2958
3 changed files with 4 additions and 4 deletions

View File

@ -141,7 +141,7 @@ The first line reports that there are 256 partitions with 3 copies in region 1;
and this is an expected output in this case (single region with 3 replicas) as
reported by the "Max" value.
However, there is some inbalance in the cluster, more precisely in zone 3. The
However, there is some imbalance in the cluster, more precisely in zone 3. The
"Max" reports a maximum of 1 copy in this zone; however 50.00% of the partitions
are storing 2 replicas in this zone (which is somewhat expected, because there
are more disks in this zone).

View File

@ -461,7 +461,7 @@ class VersionedWritesContext(WSGIContext):
def handle_obj_versions_put(self, req, versions_cont, api_version,
account_name, object_name):
"""
Copy current version of object to versions_container before proceding
Copy current version of object to versions_container before proceeding
with original request.
:param req: original request.
@ -486,7 +486,7 @@ class VersionedWritesContext(WSGIContext):
Handle DELETE requests when in history mode.
Copy current version of object to versions_container and write a
delete marker before proceding with original request.
delete marker before proceeding with original request.
:param req: original request.
:param versions_cont: container where previous versions of the object

View File

@ -427,7 +427,7 @@ class VersionedWritesTestCase(VersionedWritesBaseTestCase):
'CONTENT_LENGTH': '100'})
status, headers, body = self.call_vw(req)
self.assertEqual(status, '201 Created')
# The middleware now auths the request before the inital GET, the
# The middleware now auths the request before the initial GET, the
# same GET that gets the X-Object-Manifest back. So a second auth is
# now done.
self.assertEqual(len(self.authorized), 2)