From 87a48bb89cc569795f8b7a689794dfa07a5c33cf Mon Sep 17 00:00:00 2001 From: Wontek Hong Date: Mon, 13 Jan 2025 13:43:08 +0100 Subject: [PATCH] quick_setup/aws: introduce host name validation on save action Change-Id: Iaff81805eacb8389731f7b91ed9cbb269a5d41f3 --- cmk/gui/quick_setup/config_setups/aws/stages.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cmk/gui/quick_setup/config_setups/aws/stages.py b/cmk/gui/quick_setup/config_setups/aws/stages.py index e76ce07459d..19d956b40c7 100644 --- a/cmk/gui/quick_setup/config_setups/aws/stages.py +++ b/cmk/gui/quick_setup/config_setups/aws/stages.py @@ -378,6 +378,7 @@ def aws_transform_to_disk(params: Mapping[str, object]) -> Mapping[str, object]: label=_("Save & go to Activate changes"), action=action, run_in_background=True, + custom_validators=[qs_validators.validate_host_name_doesnt_exists], ), ], )