Skip to content

Commit 9fa7aa7

Browse files
committed
Re-order commands to prevent warning
1 parent a6a043b commit 9fa7aa7

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

deploy/docker-compose/customer1/pull-start.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -148,12 +148,6 @@ fi
148148
log "On branch before git pull:"
149149
$git_branch_cmd
150150

151-
log "Docker compose file: $docker_compose_full_file_path"
152-
log "docker ps before:"
153-
$docker_cmd ps
154-
155-
156-
157151
## Formulate Git and Docker commands
158152
git_commands="\
159153
$git_cmd reset --hard &&\
@@ -178,6 +172,11 @@ command="\
178172
"
179173

180174

175+
log "Docker compose file: $docker_compose_full_file_path"
176+
log "docker ps before:"
177+
$docker_cmd ps
178+
179+
181180
log "Running command in a sub shell:"
182181
# awk command to print the command nicely with newlines
183182
echo "$command" | awk 'BEGIN{FS="&&"; OFS="&& \n"} {$1=$1} 1'

0 commit comments

Comments
 (0)