fix(docker-env2): instance deploy uses --id (not --instance-id) in native alarm seed

This commit is contained in:
Joseph Doherty
2026-05-31 03:15:09 -04:00
parent 27d5701d99
commit f4ae44aacc
+1 -1
View File
@@ -136,7 +136,7 @@ echo "Deploying the MxAlarm demo instance to site-x..."
INSTANCE_ID=$($CLI $URL $AUTH --format json instance list \
| python3 -c "import sys,json; print(next((i['id'] for i in json.load(sys.stdin) if i.get('uniqueName')=='MxAlarmDemo-1'), ''))" 2>/dev/null)
if [ -n "$INSTANCE_ID" ]; then
$CLI $URL $AUTH instance deploy --instance-id "$INSTANCE_ID" \
$CLI $URL $AUTH instance deploy --id "$INSTANCE_ID" \
|| echo " (instance deploy reported an issue — check 'deploy status')"
else
echo " (MxAlarmDemo-1 not found — skipping instance deploy)"