Remove confusing annotation

The function which was to check for valid disk-format
had been removed here. Now remove the confusing annotation.

Change-Id: I6d9ade8c194b10b3618cffbbd5c904d27f785356
This commit is contained in:
zhu.boxiang
2019-05-10 10:36:39 +08:00
parent 6c46c0c3fe
commit faffb74ff8

View File

@@ -210,9 +210,8 @@ class VolumeActionsController(wsgi.Controller):
volume = self.volume_api.get(context, id)
context.authorize(policy.UPLOAD_IMAGE_POLICY)
# check for valid disk-format
disk_format = params.get("disk_format", "raw")
disk_format = params.get("disk_format", "raw")
image_metadata = {"container_format": params.get(
"container_format", "bare"),
"disk_format": disk_format,