Skip to content

Commit

Permalink
[importer] fix typo in log field name (#2500)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear authored Jun 28, 2024
1 parent fbb8560 commit ecca594
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/importer/pod/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func Check(ctx context.Context, c client.Client, cache *util.ImportCache, jobs u
log := ctrl.LoggerFrom(ctx)
log.Info("Check done", "checked", summary.TotalPods, "skipped", summary.SkippedPods, "failed", summary.FailedPods)
for e, pods := range summary.ErrorsForPods {
log.Info("Validation failed for Pods", "err", e, "occurrences", len(pods), "obsevedFirstIn", pods[0])
log.Info("Validation failed for Pods", "err", e, "occurrences", len(pods), "observedFirstIn", pods[0])
}
return errors.Join(summary.Errors...)
}
2 changes: 1 addition & 1 deletion cmd/importer/pod/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func Import(ctx context.Context, c client.Client, cache *util.ImportCache, jobs
log := ctrl.LoggerFrom(ctx)
log.Info("Import done", "checked", summary.TotalPods, "skipped", summary.SkippedPods, "failed", summary.FailedPods)
for e, pods := range summary.ErrorsForPods {
log.Info("Import failed for Pods", "err", e, "occurrences", len(pods), "obsevedFirstIn", pods[0])
log.Info("Import failed for Pods", "err", e, "occurrences", len(pods), "observedFirstIn", pods[0])
}
return errors.Join(summary.Errors...)
}
Expand Down

0 comments on commit ecca594

Please sign in to comment.