Fix typos in swift

Change-Id: I0982b0046a16fda0a39d9b31402b2e4b3160a5c4
This commit is contained in:
baiwenteng
2018-02-09 12:20:59 +08:00
parent 5b30c1f811
commit a3d2aaba64
2 changed files with 2 additions and 2 deletions

View File

@@ -2263,7 +2263,7 @@ class ECObjectController(BaseObjectController):
for client_start, client_end in req.range.ranges:
# TODO: coalesce ranges that overlap segments. For
# example, "bytes=0-10,20-30,40-50" with a 64 KiB
# segment size will result in a a Range header in the
# segment size will result in a Range header in the
# object request of "bytes=0-65535,0-65535,0-65535",
# which is wasteful. We should be smarter and only
# request that first segment once.

View File

@@ -791,7 +791,7 @@ class TestObjectReplicator(unittest.TestCase):
self.assertEqual('1', jobs[0]['partition'])
def test_handoffs_first_mode_will_process_all_jobs_after_handoffs(self):
# make a object in the handoff & primary partition
# make an object in the handoff & primary partition
expected_suffix_paths = []
for policy in POLICIES:
# primary