Remove echo

This commit is contained in:
weslambert
2024-09-11 15:54:34 -04:00
committed by GitHub
parent e4fa47f27e
commit 7f65d122a8

View File

@@ -17,7 +17,6 @@ if [ ! -f /opt/so/state/eaintegrationupgrade.txt ]; then
IFS=$'\n' IFS=$'\n'
for INTEGRATION in $(elastic_fleet_integration_policy_names "$AGENT_POLICY"); do for INTEGRATION in $(elastic_fleet_integration_policy_names "$AGENT_POLICY"); do
if ! [[ "$INTEGRATION" == "elastic-defend-endpoints" ]] && ! [[ "$INTEGRATION" == "fleet_server-"* ]]; then if ! [[ "$INTEGRATION" == "elastic-defend-endpoints" ]] && ! [[ "$INTEGRATION" == "fleet_server-"* ]]; then
echo "$INTEGRATION"
# Get package name so we know what package to look for when checking the current and latest available version # Get package name so we know what package to look for when checking the current and latest available version
PACKAGE_NAME=$(elastic_fleet_integration_policy_package_name "$AGENT_POLICY" "$INTEGRATION") PACKAGE_NAME=$(elastic_fleet_integration_policy_package_name "$AGENT_POLICY" "$INTEGRATION")
# Get currently installed version of package # Get currently installed version of package