Skip to content

Commit

Permalink
Merge pull request #423 from afdesk/chore/nodename
Browse files Browse the repository at this point in the history
chore: improve log for node-collector error
  • Loading branch information
simar7 authored Jan 21, 2025
2 parents 07163a0 + 6ed286e commit 83aaaa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/jobs/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ func (jb *jobCollector) ApplyAndCollect(ctx context.Context, nodeName string) (s
}
nc, err := jb.loadNodeConfig(ctx, nodeName)
if err != nil {
return "", fmt.Errorf("loading node config: %w", err)
return "", fmt.Errorf("loading node config for %q: %w", nodeName, err)
}
JobOptions = append(JobOptions, WithKubeletConfig(nc))
job, err := GetJob(JobOptions...)
Expand Down

0 comments on commit 83aaaa7

Please sign in to comment.