Skip to content

Commit

Permalink
Merge pull request #1170 from agrare/fix_ems_ids_ems_id
Browse files Browse the repository at this point in the history
Replace EMS_IDS with EMS_ID in container entrypoint
  • Loading branch information
jrafanie authored Sep 20, 2024
2 parents 79b8348 + 61ffcd8 commit 5c8898a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion images/manageiq-base-worker/container-assets/entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[[ -s ${APP_ROOT}/container_env ]] && source ${APP_ROOT}/container_env

WORKER_OPTIONS=""
[[ -n $EMS_IDS ]] && WORKER_OPTIONS="${WORKER_OPTIONS} --ems-id=${EMS_IDS} "
[[ -n $EMS_ID ]] && WORKER_OPTIONS="${WORKER_OPTIONS} --ems-id=${EMS_ID} "
[[ -n $HOSTNAME ]] && WORKER_OPTIONS="${WORKER_OPTIONS} --system-uid=$HOSTNAME "

exec ruby ${APP_ROOT}/lib/workers/bin/run_single_worker.rb --heartbeat ${WORKER_OPTIONS}${WORKER_CLASS_NAME}

0 comments on commit 5c8898a

Please sign in to comment.