Skip to content

Commit

Permalink
Merge pull request #9764 from banuchka/fix-OBS_WORKER_SECURITY_LEVEL-…
Browse files Browse the repository at this point in the history
…variable/hostlabel

validate OBS_WORKER_SECURITY_LEVEL as variable when use it for hostlabel
  • Loading branch information
adrianschroeter committed Jul 6, 2020
2 parents 3f8d00c + bef9b1b commit a717940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/obsworker
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ if [ -n "$OBS_WORKER_WIPE_AFTER_BUILD" ]; then
OBS_WIPE_AFTER_BUILD="--wipeafterbuild"
fi

if [ -n "OBS_WORKER_SECURITY_LEVEL" ]; then
if [ -n "$OBS_WORKER_SECURITY_LEVEL" ]; then
OBS_WORKER_HOSTLABELS="OBS_WORKER_SECURITY_LEVEL_${OBS_WORKER_SECURITY_LEVEL} $OBS_WORKER_HOSTLABELS"
fi

Expand Down

0 comments on commit a717940

Please sign in to comment.