diff --git a/pkg/controller/pod.go b/pkg/controller/pod.go index 609a7140..5c4245ce 100644 --- a/pkg/controller/pod.go +++ b/pkg/controller/pod.go @@ -335,7 +335,7 @@ func (pnc *PodNetworksController) handleResult( if err != nil { currentRetries := pnc.workqueue.NumRequeues(namespacedPodName) if currentRetries <= maxRetries { - klog.Errorf("re-queued request for: %s. Error: %v", *namespacedPodName, err) + klog.Errorf("re-queued request for: %s. Error: %v", namespacedPodNameString, err) pnc.workqueue.AddRateLimited(namespacedPodName) return err }