Skip to content

Commit b872365

Browse files
committed
🐛 Fix webhook logging.
1 parent ef42fba commit b872365

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webhook/webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func (hook *initInjector) handleInner(ctx context.Context, req admission.Request
103103
},
104104
},
105105
}
106-
log.Info("Injecting init container", "pod", fmt.Sprintf("%s/%s", pod.Namespace, pod.Name), "migrator", fmt.Sprintf("%s/%s", m.Namespace, m.Name))
106+
log.Info("Injecting init container", "pod", fmt.Sprintf("%s/%s", req.Namespace, req.Name), "migrator", fmt.Sprintf("%s/%s", m.Namespace, m.Name))
107107
pod.Spec.InitContainers = append(pod.Spec.InitContainers, initContainer)
108108
}
109109

0 commit comments

Comments
 (0)