fvilla-netnix commented on code in PR #547:
URL: https://github.com/apache/apisix-docker/pull/547#discussion_r1524747439
##########
debian-dev/docker-entrypoint.sh:
##########
@@ -21,46 +21,54 @@ set -eo pipefail
PREFIX=${APISIX_PREFIX:=/usr/local/apisix}
if [[ "$1" == "docker-start" ]]; then
- if [ "$APISIX_STAND_ALONE" = "true" ]; then
- # If the file is not present then initialise the content otherwise
update relevant keys for standalone mode
- if [ ! -f "${PREFIX}/conf/config.yaml" ]; then
- cat > ${PREFIX}/conf/config.yaml << _EOC_
+ if [ "$APISIX_STAND_ALONE" = "true" ]; then
+ # If the file is not present then initialise the content
otherwise check relevant keys for standalone mode
+ if [ ! -f "${PREFIX}/conf/config.yaml" ]; then
+ cat > ${PREFIX}/conf/config.yaml << _EOC_
Review Comment:
Should I undo those changes? The indentation was driving me crazy in my IDE
since it was split between 2 spaces and 4.
--
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]