[Trivialfix]Fix typos
Fix the typos in manila. Change-Id: I4d446759eddf512c46247aca0bab08b4c8155d9a
This commit is contained in:
parent
f6372af172
commit
5084efe621
@ -298,7 +298,7 @@ class QnapShareDriver(driver.ShareDriver):
|
||||
|
||||
def delete_share(self, context, share, share_server=None):
|
||||
"""Delete the specified share."""
|
||||
# Use private_storage to retreive volume ID created in the NAS.
|
||||
# Use private_storage to retrieve volume ID created in the NAS.
|
||||
volID = self.private_storage.get(share['id'], 'volID')
|
||||
if not volID:
|
||||
LOG.warning('volID for Share %s does not exist', share['id'])
|
||||
|
@ -61,7 +61,7 @@ class UserMessageTest(base.BaseSharesAdminTest):
|
||||
# for number of keys in response's dict, if there is only single
|
||||
# key, it returns directly this key, otherwise it returns
|
||||
# parsed body. If limit param is used, then API returns
|
||||
# multiple keys in reponse ('messages' and 'message_links')
|
||||
# multiple keys in response ('messages' and 'message_links')
|
||||
messages = body['messages']
|
||||
self.assertIsInstance(messages, list)
|
||||
ids = [x['resource_id'] for x in messages]
|
||||
|
Loading…
Reference in New Issue
Block a user