elastic_fleet_integration_id

This commit is contained in:
reyesj2
2025-09-18 10:27:54 -05:00
parent 8b07ff453d
commit f663f22628
2 changed files with 7 additions and 4 deletions
@@ -53,7 +53,9 @@ for AGENT_POLICY in $agent_policies; do
fi
# Get integration ID
INTEGRATION_ID=$(elastic_fleet_integration_id "$AGENT_POLICY" "$INTEGRATION")
if ! INTEGRATION_ID=$(elastic_fleet_integration_id "$AGENT_POLICY" "$INTEGRATION");
exit 1
fi
if [[ "$PACKAGE_VERSION" != "$AVAILABLE_VERSION" ]]; then
# Dry run of the upgrade