summaryrefslogtreecommitdiff
path: root/cinderclient/v3/volumes.py
diff options
context:
space:
mode:
Diffstat (limited to 'cinderclient/v3/volumes.py')
-rw-r--r--cinderclient/v3/volumes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cinderclient/v3/volumes.py b/cinderclient/v3/volumes.py
index 8d1bc25..c7654d6 100644
--- a/cinderclient/v3/volumes.py
+++ b/cinderclient/v3/volumes.py
@@ -453,9 +453,9 @@ class VolumeManager(base.ManagerWithFind):
"""
return self._action("os-show_image_metadata", volume)
- @api_versions.wraps("2.0", "3.0")
+ @api_versions.wraps("3.0")
def upload_to_image(self, volume, force, image_name, container_format,
- disk_format, visibility, protected):
+ disk_format):
"""Upload volume to image service as image.
:param volume: The :class:`Volume` to upload.