From 5ff1f14e09229d9afa758f34ec0010af23129e2d Mon Sep 17 00:00:00 2001 From: Igor Aleksandrychev <16775360+aleksandrychev@users.noreply.github.com> Date: Sat, 31 Aug 2024 11:06:43 +0300 Subject: [PATCH] Update cfe_internal/enterprise/CFE_hub_specific.cf Co-authored-by: Nick Anderson --- cfe_internal/enterprise/CFE_hub_specific.cf | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/cfe_internal/enterprise/CFE_hub_specific.cf b/cfe_internal/enterprise/CFE_hub_specific.cf index 8f7dfaa471..e880e9022f 100644 --- a/cfe_internal/enterprise/CFE_hub_specific.cf +++ b/cfe_internal/enterprise/CFE_hub_specific.cf @@ -114,18 +114,19 @@ bundle agent update_cli_rest_server_url_config "regex_test_pattern" string => ".*localhost:$(cfe_internal_hub_vars.https_port).*"; files: - "$(mp_config_file)" - edit_line => change_cli_rest_server_url_port, - if => and( - fileexists("$(mp_config_file)"), - islessthan(countlinesmatching("$(regex_test_pattern)", "$(mp_config_file)"), 1) - ); "$(mp_share_config_file)" edit_line => change_cli_rest_server_url_port, if => and( fileexists("$(mp_share_config_file)"), islessthan(countlinesmatching("$(regex_test_pattern)", "$(mp_share_config_file)"), 1) ); + + "$(mp_config_file)" + edit_line => change_cli_rest_server_url_port, + if => and( + fileexists("$(mp_config_file)"), + islessthan(countlinesmatching("$(regex_test_pattern)", "$(mp_config_file)"), 1) + ); } bundle edit_line change_cli_rest_server_url_port