Fix some minor typos
Fixed some typos in function name and comments. Change-Id: Ida76ab4b331a51b71e57650702acc136e66ba4b2
This commit is contained in:
parent
a2c0e6f687
commit
fa35e38c9f
@ -623,7 +623,7 @@ class BaseObjectController(Controller):
|
||||
"""
|
||||
This method is responsible for establishing connection
|
||||
with storage nodes and sending the data to each one of those
|
||||
nodes. The process of transfering data is specific to each
|
||||
nodes. The process of transferring data is specific to each
|
||||
Storage Policy, thus it is required for each policy specific
|
||||
ObjectController to provide their own implementation of this method.
|
||||
|
||||
|
@ -95,7 +95,7 @@ class TestReconstructorPropDurable(ECProbeTest):
|
||||
if e.errno != errno.ENOENT:
|
||||
raise
|
||||
|
||||
# fire up reconstructor to propogate the .durable
|
||||
# fire up reconstructor to propagate the .durable
|
||||
self.reconstructor.once()
|
||||
|
||||
# fragment is still exactly as it was before!
|
||||
|
@ -159,7 +159,7 @@ class TestReconstructorRevert(ECProbeTest):
|
||||
hnode_id = (hnode['port'] - 6000) / 10
|
||||
self.reconstructor.once(number=hnode_id)
|
||||
|
||||
# first threee primaries have data again
|
||||
# first three primaries have data again
|
||||
for onode in (onodes[0], onodes[2]):
|
||||
self.direct_get(onode, opart)
|
||||
|
||||
@ -218,7 +218,7 @@ class TestReconstructorRevert(ECProbeTest):
|
||||
# enable the first node again
|
||||
self.revive_drive(p_dev2)
|
||||
|
||||
# propogate the delete...
|
||||
# propagate the delete...
|
||||
# fire up reconstructor on handoff nodes only
|
||||
for hnode in hnodes:
|
||||
hnode_id = (hnode['port'] - 6000) / 10
|
||||
|
@ -3598,7 +3598,7 @@ class TestECDiskFile(DiskFileMixin, unittest.TestCase):
|
||||
ts.internal + '.durable',
|
||||
])
|
||||
|
||||
def test_purge_non_existant_fragment_index(self):
|
||||
def test_purge_non_existent_fragment_index(self):
|
||||
ts = self.ts()
|
||||
frag_index = 7
|
||||
df = self._simple_get_diskfile(frag_index=frag_index)
|
||||
|
@ -6081,7 +6081,7 @@ class TestObjectECRangedGET(unittest.TestCase):
|
||||
self.assertEqual(gotten_obj, self.obj[3783:7879])
|
||||
|
||||
def test_aligned_left(self):
|
||||
# Firts byte is aligned to a segment boundary, last byte is not
|
||||
# First byte is aligned to a segment boundary, last byte is not
|
||||
status, headers, gotten_obj = self._get_obj("bytes=0-5500")
|
||||
self.assertEqual(status, 206)
|
||||
self.assertEqual(headers['Content-Length'], "5501")
|
||||
|
Loading…
Reference in New Issue
Block a user