From 6472e3862628e64c87d082d4b6c9177d5add7d4e Mon Sep 17 00:00:00 2001 From: Patrik Holmqvist Date: Tue, 18 Feb 2025 10:21:24 +0100 Subject: [PATCH] black formating in create-sc-instance --- scripts/create-sc-instance | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/create-sc-instance b/scripts/create-sc-instance index a9e04f6f..1f9c2880 100755 --- a/scripts/create-sc-instance +++ b/scripts/create-sc-instance @@ -111,15 +111,15 @@ def create_server( # pylint: disable=too-many-arguments, too-many-locals f"flavor '{flavor.name}' includes no disk, using block storage for all disks" ) volume_type_name = "fast" - # volume_type = conn.volume.find_type(volume_type_name) - # if volume_type is None: - # raise RuntimeError(f"unable to find volume type '{volume_type_name}'") + #volume_type = conn.volume.find_type(volume_type_name) + #if volume_type is None: + #raise RuntimeError(f"unable to find volume type '{volume_type_name}'") for i, size in enumerate(disk_sizes): block_mapping = { "delete_on_termination": True, "destination_type": "volume", "volume_size": size, - # "volume_type": volume_type.name, + #"volume_type": volume_type.name, } # The first disk is the OS disk, base it on the selected image and bootable if i == 0: