From e6adeca85348cde41bff8b9dbe6e977b6a7fb040 Mon Sep 17 00:00:00 2001 From: micafer Date: Fri, 11 Jun 2021 11:50:30 +0200 Subject: [PATCH] Fix error with #1199 --- IM/connectors/OpenStack.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IM/connectors/OpenStack.py b/IM/connectors/OpenStack.py index 1881aedb0..321689fd5 100644 --- a/IM/connectors/OpenStack.py +++ b/IM/connectors/OpenStack.py @@ -1045,7 +1045,7 @@ def get_volumes(driver, image, volume, radl): } if disk_type == "ephemeral": boot_disk['destination_type'] = 'local' - if disk_type: + elif disk_type: disk['volume_type'] = disk_type if disk_device: disk['device_name'] = disk_device