Skip to content

Commit 0c4f569

Browse files
Merge pull request #1954 from craigcomstock/autodetect-role-not-errors
Adjusted ROLE detection messages to all debug as these are expected messages and not errors
2 parents d92c4b2 + ff6597c commit 0c4f569

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build-scripts/compile-options

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ hub)
196196
ROLE=hub
197197
;;
198198
*)
199-
log_error "Bad or unset EXPLICIT_ROLE '$EXPLICIT_ROLE': attempting autodetection"
199+
log_debug "Bad or unset EXPLICIT_ROLE '$EXPLICIT_ROLE': attempting autodetection"
200200
case x"$label" in
201201
x)
202202
log_debug "label is not set, assuming that this is not the main build job; Setting ROLE=agent."
@@ -207,7 +207,7 @@ hub)
207207
ROLE=hub
208208
;;
209209
*)
210-
log_error "Autodetection failed for label '$label': defaulting to 'agent'"
210+
log_debug "Autodetection failed for label '$label': defaulting to 'agent'"
211211
ROLE=agent
212212
;;
213213
esac

0 commit comments

Comments
 (0)