Merge "Delete redundant code"
This commit is contained in:
commit
ece343e3eb
@ -244,8 +244,6 @@ class VolumeActionsController(wsgi.Controller):
|
|||||||
image_utils.VALID_DISK_FORMATS)
|
image_utils.VALID_DISK_FORMATS)
|
||||||
}
|
}
|
||||||
raise webob.exc.HTTPBadRequest(explanation=msg)
|
raise webob.exc.HTTPBadRequest(explanation=msg)
|
||||||
if disk_format == "parallels":
|
|
||||||
disk_format = "ploop"
|
|
||||||
|
|
||||||
image_metadata = {"container_format": params.get(
|
image_metadata = {"container_format": params.get(
|
||||||
"container_format", "bare"),
|
"container_format", "bare"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user