Skip to content

Commit ecca594

Browse files
authored
[importer] fix typo in log field name (#2500)
1 parent fbb8560 commit ecca594

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎cmd/importer/pod/check.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func Check(ctx context.Context, c client.Client, cache *util.ImportCache, jobs u
7474
log := ctrl.LoggerFrom(ctx)
7575
log.Info("Check done", "checked", summary.TotalPods, "skipped", summary.SkippedPods, "failed", summary.FailedPods)
7676
for e, pods := range summary.ErrorsForPods {
77-
log.Info("Validation failed for Pods", "err", e, "occurrences", len(pods), "obsevedFirstIn", pods[0])
77+
log.Info("Validation failed for Pods", "err", e, "occurrences", len(pods), "observedFirstIn", pods[0])
7878
}
7979
return errors.Join(summary.Errors...)
8080
}

‎cmd/importer/pod/import.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ func Import(ctx context.Context, c client.Client, cache *util.ImportCache, jobs
129129
log := ctrl.LoggerFrom(ctx)
130130
log.Info("Import done", "checked", summary.TotalPods, "skipped", summary.SkippedPods, "failed", summary.FailedPods)
131131
for e, pods := range summary.ErrorsForPods {
132-
log.Info("Import failed for Pods", "err", e, "occurrences", len(pods), "obsevedFirstIn", pods[0])
132+
log.Info("Import failed for Pods", "err", e, "occurrences", len(pods), "observedFirstIn", pods[0])
133133
}
134134
return errors.Join(summary.Errors...)
135135
}

0 commit comments

Comments
 (0)