Skip to content

Commit bebecd3

Browse files
committed
Ignore config ENV in entrypoint
1 parent 51c6508 commit bebecd3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build/entrypoint.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ CMD=("${guidellm_bin}" "benchmark")
2020
for var in $args; do
2121
# Remove GUIDELLM_ prefix
2222
arg_name="${var#GUIDELLM_}"
23+
24+
# If there is an extra underscore at the
25+
# start than this is a config variable
26+
if [ "${arg_name:0:1}" == "_" ]; then
27+
continue
28+
fi
29+
2330
# Convert to lowercase
2431
arg_name="${arg_name,,}"
2532
# Replace underscores with dashes

0 commit comments

Comments
 (0)