Merge "Fix typos in storlets"

This commit is contained in:
Zuul 2018-04-12 10:23:35 +00:00 committed by Gerrit Code Review
commit ac7066003e
2 changed files with 2 additions and 2 deletions

View File

@ -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):

View File

@ -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)