Merge "Fix typos in storlets"
This commit is contained in:
commit
ac7066003e
@ -717,7 +717,7 @@ class StorletInvocationProtocol(object):
|
||||
rc = SBus.send(self.storlet_pipe_path, dtg)
|
||||
if (rc < 0):
|
||||
raise StorletRuntimeException('Failed to cancel task')
|
||||
# TODO(takashi): Check the reponse here
|
||||
# TODO(takashi): Check the response here
|
||||
os.read(read_fd, 10)
|
||||
|
||||
def _invoke(self):
|
||||
|
@ -438,7 +438,7 @@ use = egg:swift#catch_errors
|
||||
# prepare nested mock patch
|
||||
# SBus -> mock SBus.send() for container communication
|
||||
# os.read -> mock reading the file descriptor from container
|
||||
# select.slect -> mock fd communication wich can be readable
|
||||
# select.slect -> mock fd communication which can be readable
|
||||
@mock.patch('storlets.gateway.gateways.docker.runtime.SBus', MockSBus)
|
||||
@mock.patch('storlets.gateway.gateways.docker.runtime.os.read',
|
||||
mock_read)
|
||||
|
Loading…
x
Reference in New Issue
Block a user