monkeyDluffy6017 commented on code in PR #547:
URL: https://github.com/apache/apisix-docker/pull/547#discussion_r1524543154
##########
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:
Why do you change these indents? please leave it as it is, just fix the bug
is enough
--
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]