Skip to content

Commit bea85a5

Browse files
doc: better logs from discourse-docker
1 parent 0dea1a2 commit bea85a5

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

discourse-doctor

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -240,23 +240,21 @@ check_email() {
240240
get_yml_file() {
241241
if [ -n "$app_name" ] && [ -f "containers/$app_name.yml" ]
242242
then
243-
log "Using app name '$app_name' from command argument"
244243
web_file="containers/$app_name.yml"
245-
log "Found $web_file"
244+
log "Found $web_file from command argument"
246245
elif [ -f containers/app.yml ]
247246
then
248247
app_name="app"
249248
web_file=containers/$app_name.yml
250249
log "Found $web_file"
251250
elif [ -f containers/web_only.yml ]
252251
then
253-
log "YML=web_only.yml"
254252
app_name="web_only"
255253
web_file=containers/$app_name.yml
256254
log "Found $web_file"
257255
else
258-
log "Can't find app.yml or web_only.yml."
259-
log "Giving up."
256+
log There is no container definition.
257+
log Unable to continue.
260258
exit
261259
fi
262260
}

0 commit comments

Comments
 (0)