Modify the notes of upload_image_data() method
The notes of upload_image_data() method in zun.image.galnce.driver should be "Upload an image." . Change-Id: Ida1a1b96b525b5070f15b1b4a2d973d4b7ae689d Closes-bug: #1738362
This commit is contained in:
parent
0ae1dba428
commit
1c5a7cd140
@ -145,7 +145,7 @@ class GlanceDriver(driver.ContainerImageDriver):
|
|||||||
raise exception.ZunException(six.text_type(e))
|
raise exception.ZunException(six.text_type(e))
|
||||||
|
|
||||||
def upload_image_data(self, context, img_id, data):
|
def upload_image_data(self, context, img_id, data):
|
||||||
"""Update an image."""
|
"""Upload an image."""
|
||||||
LOG.debug('Uploading an image to glance %s', img_id)
|
LOG.debug('Uploading an image to glance %s', img_id)
|
||||||
try:
|
try:
|
||||||
return utils.upload_image_data(context, img_id, data)
|
return utils.upload_image_data(context, img_id, data)
|
||||||
|
Loading…
Reference in New Issue
Block a user