Amend the spelling error of a word

Change-Id: Id2eb5beac5db9771ca9e1c05db46ea6b622a661d
This commit is contained in:
chengebj5238 2018-06-07 09:04:03 +08:00
parent 37c31261bb
commit e8a34c2ae2
6 changed files with 8 additions and 8 deletions

View File

@ -3,7 +3,7 @@
# Install required libraries written in c and java
#
# NOTE: The libraries are currently installed under /usr/lib/storlets
# so you may need root priviledge to execute this script
# so you may need root privilege to execute this script
# build scripts
cd scripts

View File

@ -53,7 +53,7 @@ CommandFailure = partial(CommandResponse, False)
def command_handler(func):
"""
Decorator for handler methods called accoring to given sbus command
Decorator for handler methods called according to given sbus command
"""
func.is_command_handler = True
return func

View File

@ -416,7 +416,7 @@ class StorletBaseHandler(object):
Apply storlet on response
:param resp: swob.Response instance
:return: processed reponse
:return: processed response
"""
sresp = self._call_gateway(resp)

View File

@ -540,7 +540,7 @@ class StorletProxyHandler(StorletBaseHandler):
agent=self.agent)
sub_resp = sub_req.get_response(self.app)
if sub_resp.status_int != 204:
self.logger.info("Failed to retreive container metadata")
self.logger.info("Failed to retrieve container metadata")
return HTTPUnauthorized(('Unauthorized to get or modify '
'the container ACL'))

View File

@ -260,7 +260,7 @@ class StorletMagics(Magics):
'-o', type=unicode_type,
help=('A name of an output variable to hold the invocation result '
'The output variable is a dictionary with the fields: '
'status, headers, content_iter holding the reponse status, '
'status, headers, content_iter holding the response status, '
'headers, and body iterator accordingly')
)
@line_magic
@ -326,7 +326,7 @@ class StorletMagics(Magics):
'-o', type=unicode_type,
help=('A name of an output variable to hold the invocation result '
'The output variable is a dictionary with the fields: '
'status, headers, holding the reponse status and '
'status, headers, holding the response status and '
'headers accordingly')
)
@line_magic
@ -397,7 +397,7 @@ class StorletMagics(Magics):
'-o', type=unicode_type,
help=('A name of an output variable to hold the invocation result '
'The output variable is a dictionary with the fields: '
'status, headers, holding the reponse status and '
'status, headers, holding the response status and '
'headers accordingly')
)
@line_magic

View File

@ -179,7 +179,7 @@ class TestStorletDockerGateway(unittest.TestCase):
self.obj = 'object'
self.sobj = 'storlet-1.0.jar'
# TODO(kota_): shoudl be 'storlet-internal-client.conf' actually
# TODO(kota_): should be 'storlet-internal-client.conf' actually
ic_conf_path = os.path.join(self.tempdir,
'storlet-proxy-server.conf')
with open(ic_conf_path, 'w') as f: