Copilot commented on code in PR #34719:
URL: https://github.com/apache/superset/pull/34719#discussion_r2279620614


##########
docker/entrypoints/run-server.sh:
##########
@@ -26,7 +26,7 @@ gunicorn \
     --workers ${SERVER_WORKER_AMOUNT:-1} \
     --worker-class ${SERVER_WORKER_CLASS:-gthread} \
     --threads ${SERVER_THREADS_AMOUNT:-20} \
-    --log-level "${GUNICORN_LOGLEVEL:info}" \
+    --log-level "${GUNICORN_LOGLEVEL:-info}" \

Review Comment:
   The fix correctly changes the parameter expansion from `:info` to `:-info`. 
The original syntax `${GUNICORN_LOGLEVEL:info}` was invalid bash parameter 
expansion that would cause errors with `set -u`. The corrected syntax 
`${GUNICORN_LOGLEVEL:-info}` properly provides 'info' as the default value when 
GUNICORN_LOGLEVEL is unset or null.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to