Auto-generated squash commit

Fix misspellings

Upstream-Change-Id: Ie7ecbe4b33dd0e1ef94b0be85ec3af790cc6fcd7

Correct spelling mistake

Change interable to iterable.

Upstream-Change-Id: I468a87a3df9ed00ed82f1ba0d6abbbc6944cf613

Change-Id: I4de8426cd19ef0bc7c00fe57f8bc3303d0a4f8a4
Co-Authored-by: venkatamahesh <venkatamaheshkotha@gmail.com>
Co-Authored-by: Irina <yuyuesh@cn.ibm.com>
This commit is contained in:
Flavio Percoco
2016-02-03 15:25:29 +05:30
committed by Flavio Percoco
parent 0b7a6d2379
commit e91d8ec4b8
2 changed files with 3 additions and 3 deletions

View File

@@ -272,7 +272,7 @@ class ShellTest(testutils.TestCase):
glance_shell = openstack_shell.OpenStackImagesShell()
glance_shell.main(args.split())
# NOTE(flaper87): this currently calls auth twice since it'll
# authenticate to get the verison list *and* to excuted the command.
# authenticate to get the version list *and* to execute the command.
# This is not the ideal behavior and it should be fixed in a follow
# up patch.
self._assert_auth_plugin_args()

View File

@@ -189,7 +189,7 @@ class Controller(object):
:param image_id: ID of the image to download.
:param do_checksum: Enable/disable checksum validation.
:returns: An interable body or None
:returns: An iterable body or None
"""
url = '/v2/images/%s/file' % image_id
resp, body = self.http_client.get(url)
@@ -209,7 +209,7 @@ class Controller(object):
:param image_id: ID of the image to upload data for.
:param image_data: File-like object supplying the data to upload.
:param image_size: Unused - present for backwards compatability
:param image_size: Unused - present for backwards compatibility
"""
url = '/v2/images/%s/file' % image_id
hdrs = {'Content-Type': 'application/octet-stream'}