Skip to content

Commit

Permalink
Replace EMS_IDs with EMS_ID in container entrypoint
Browse files Browse the repository at this point in the history
Workers having a comma separated list of EMS IDs is no longer used and
this can be simplified to a single EMS_ID.
  • Loading branch information
agrare committed Sep 19, 2024
1 parent 79b8348 commit 61ffcd8
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 61ffcd8

Please sign in to comment.