Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/switch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ main() {
log "Previous running container is Blue."
healthcheck "$GREEN_CONTAINER:$PORT_NUMBER/$HEALTHCHECK_API"
switch blue green
elif [ "$is_green_running" = "running" ]; then
elif [ "$blue_start_time" ">" "$green_start_time" ]; then
log "Previous running container is Green."
healthcheck "$BLUE_CONTAINER:$PORT_NUMBER/$HEALTHCHECK_API"
switch green blue
Expand Down
Loading