Skip to content

Commit

Permalink
chore: improve log for node-collector error
Browse files Browse the repository at this point in the history
  • Loading branch information
afdesk committed Jan 13, 2025
1 parent 2382edf commit 6ed286e
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 6ed286e

Please sign in to comment.