Merge "fix word spelling mistake"

This commit is contained in:
Jenkins 2016-09-30 15:05:46 +00:00 committed by Gerrit Code Review
commit 85ac109012
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

@ -460,7 +460,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.
@ -485,7 +485,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)