Merge pull request #268 from gabriel-samfira/lower-log-level
Lower the log level of ignored jobs
This commit is contained in:
commit
38127af747
1 changed files with 1 additions and 1 deletions
|
|
@ -158,7 +158,7 @@ func (r *basePoolManager) HandleWorkflowJob(job params.WorkflowJob) error {
|
|||
// This job is new to us. Check if we have a pool that can handle it.
|
||||
potentialPools, err := r.store.FindPoolsMatchingAllTags(r.ctx, r.entity.EntityType, r.entity.ID, jobParams.Labels)
|
||||
if err != nil {
|
||||
slog.With(slog.Any("error", err)).ErrorContext(
|
||||
slog.With(slog.Any("error", err)).WarnContext(
|
||||
r.ctx, "failed to find pools matching tags; not recording job",
|
||||
"requested_tags", strings.Join(jobParams.Labels, ", "))
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue