From 662f906f9d3710ff61532da61df0679e367b25f0 Mon Sep 17 00:00:00 2001 From: weslambert Date: Fri, 13 Sep 2024 09:16:53 -0400 Subject: [PATCH] Remove IFS --- .../elasticfleet/tools/sbin/so-elastic-fleet-integration-upgrade | 1 - 1 file changed, 1 deletion(-) diff --git a/salt/elasticfleet/tools/sbin/so-elastic-fleet-integration-upgrade b/salt/elasticfleet/tools/sbin/so-elastic-fleet-integration-upgrade index d4463e7f3..eb812ebf6 100644 --- a/salt/elasticfleet/tools/sbin/so-elastic-fleet-integration-upgrade +++ b/salt/elasticfleet/tools/sbin/so-elastic-fleet-integration-upgrade @@ -12,7 +12,6 @@ SESSIONCOOKIE=$(curl -s -K /opt/so/conf/elasticsearch/curl.config -c - -X GET ht # List agent policies IFS=$'\n' for AGENT_POLICY in $(elastic_fleet_agent_policy_names); do - IFS=$'\n' for INTEGRATION in $(elastic_fleet_integration_policy_names "$AGENT_POLICY"); do if ! [[ "$INTEGRATION" == "elastic-defend-endpoints" ]] && ! [[ "$INTEGRATION" == "fleet_server-"* ]]; then # Get package name so we know what package to look for when checking the current and latest available version