Fix typos in swift
Change-Id: I0982b0046a16fda0a39d9b31402b2e4b3160a5c4
This commit is contained in:
@@ -2263,7 +2263,7 @@ class ECObjectController(BaseObjectController):
|
|||||||
for client_start, client_end in req.range.ranges:
|
for client_start, client_end in req.range.ranges:
|
||||||
# TODO: coalesce ranges that overlap segments. For
|
# TODO: coalesce ranges that overlap segments. For
|
||||||
# example, "bytes=0-10,20-30,40-50" with a 64 KiB
|
# 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",
|
# object request of "bytes=0-65535,0-65535,0-65535",
|
||||||
# which is wasteful. We should be smarter and only
|
# which is wasteful. We should be smarter and only
|
||||||
# request that first segment once.
|
# request that first segment once.
|
||||||
|
@@ -791,7 +791,7 @@ class TestObjectReplicator(unittest.TestCase):
|
|||||||
self.assertEqual('1', jobs[0]['partition'])
|
self.assertEqual('1', jobs[0]['partition'])
|
||||||
|
|
||||||
def test_handoffs_first_mode_will_process_all_jobs_after_handoffs(self):
|
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 = []
|
expected_suffix_paths = []
|
||||||
for policy in POLICIES:
|
for policy in POLICIES:
|
||||||
# primary
|
# primary
|
||||||
|
Reference in New Issue
Block a user