From 477de569cd7912e0cc9b8767312365208a4fc102 Mon Sep 17 00:00:00 2001 From: Matthias Kay Date: Thu, 28 Sep 2023 09:27:09 +0200 Subject: [PATCH] fix: convert the fleet instance type in migration script --- migrations/migrate-to-7-0-0.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migrations/migrate-to-7-0-0.sh b/migrations/migrate-to-7-0-0.sh index 84d10acc8..356d00840 100755 --- a/migrations/migrate-to-7-0-0.sh +++ b/migrations/migrate-to-7-0-0.sh @@ -521,9 +521,9 @@ extracted_variables=$(echo "$extracted_variables" | \ sed 's/runner_worker_docker_machine_instance_prefix/name_prefix/g' ) -extracted_fleet_types=$(grep -E '(docker_machine_instance_types_fleet)' "$converted_file" | sed 's/docker_machine_instance_types_fleet/types/g') +extracted_fleet_types=$(grep -E '(docker_machine_types_fleet)' "$converted_file" | sed 's/docker_machine_types_fleet/types/g') extracted_fleet_subnets=$(grep -E '(fleet_executor_subnet_ids)' "$converted_file" | sed 's/fleet_executor_subnet_ids/subnet_ids/g') -sed -i '/docker_machine_instance_types_fleet/d' "$converted_file" +sed -i '/docker_machine_types_fleet/d' "$converted_file" sed -i '/fleet_executor_subnet_ids/d' "$converted_file" # add new block runners_docker_options at the end