Skip to content

Commit 5f449ad

Browse files
authored
Merge pull request #3036 from nickanderson/ENT-13175/master
ENT-13175: Disabled sync of Mission Portal config from share/GUI unless explicitly enabled
2 parents b588e85 + 8807c6f commit 5f449ad

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

cfe_internal/enterprise/CFE_hub_specific.cf

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,16 +118,18 @@ bundle agent update_cli_rest_server_url_config
118118
"regex_test_pattern" string => ".*localhost:$(cfe_internal_hub_vars.https_port).*";
119119

120120
files:
121-
!mpf_disable_mission_portal_docroot_sync_from_share_gui::
121+
mpf_enable_mission_portal_docroot_sync_from_share_gui::
122122
"$(mp_share_config_file)"
123-
edit_line => change_cli_rest_server_url_port,
124-
if => and(
125-
fileexists("$(mp_share_config_file)"),
126-
islessthan(countlinesmatching("$(regex_test_pattern)", "$(mp_share_config_file)"), 1)
127-
);
123+
handle => "cfe_internal_edit_share_gui_mp_config",
124+
edit_line => change_cli_rest_server_url_port,
125+
if => and(
126+
fileexists("$(mp_share_config_file)"),
127+
islessthan(countlinesmatching("$(regex_test_pattern)", "$(mp_share_config_file)"), 1)
128+
);
128129

129130
any::
130131
"$(mp_config_file)"
132+
handle => "cfe_internal_edit_mp_config",
131133
edit_line => change_cli_rest_server_url_port,
132134
if => and(
133135
fileexists("$(mp_config_file)"),

0 commit comments

Comments
 (0)