From 106c9286c54d11a8f00ecf07ca31e0124cbf4fa3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Franti=C5=A1ek=20=C5=98ezn=C3=AD=C4=8Dek?=
 <246254@mail.muni.cz>
Date: Tue, 11 Jun 2024 20:48:53 +0200
Subject: [PATCH] fix: correct sg name prefix argument name

---
 CHANGELOG.md           | 4 ++++
 ci/project-migrator.py | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index d95aea2..15afa2c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
 
 ## [Unreleased]
 
+## [1.2.1] - 2024-06-11
+### Fixed
+- corrected argument/switch name from --destination-secgroup-entity-name-prefix to --destination-secgroup-name-prefix
+
 ## [1.2.0] - 2024-06-11
 ### Changed
 - source and destination entity names now match except security groups where prefix migrated- is kept
diff --git a/ci/project-migrator.py b/ci/project-migrator.py
index d208564..a9e4fc7 100755
--- a/ci/project-migrator.py
+++ b/ci/project-migrator.py
@@ -336,7 +336,7 @@ if __name__ == "__main__":
                     help='Destination cloud bootable volumes are made on top of public image. Name of destination cloud image.')
     AP.add_argument('--destination-ipv4-external-network', default='external-ipv4-general-public',
                     help='Destination cloud IPV4 external network.')
-    AP.add_argument('--destination-secgroup-entity-name-prefix', default='migrated-',
+    AP.add_argument('--destination-secgroup-name-prefix', default='migrated-',
                     help='Destination cloud security_groups entity name prefix.')
     AP.add_argument('--destination-entity-name-prefix', default='',
                     help='Destination cloud entity name prefix (all except secgroups).')
-- 
GitLab