From 1ddc3a2c139660a6d10c6e1aa7a9f5402e4ec79b Mon Sep 17 00:00:00 2001 From: shrey-rajvanshi Date: Fri, 3 May 2019 12:50:23 +0530 Subject: [PATCH] Corrects Error message --- pkg/server/webhook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/server/webhook.go b/pkg/server/webhook.go index 77da745..c009abf 100644 --- a/pkg/server/webhook.go +++ b/pkg/server/webhook.go @@ -151,7 +151,7 @@ func (whsvr *WebhookServer) getSidecarConfigurationRequested(ignoredList []strin // determine whether to perform mutation based on annotation for the target resource requestedInjection, ok := annotations[requestAnnotationKey] if !ok { - glog.Infof("Pod %s/%s annotation %s is missing, skipping injection", metadata.Namespace, metadata.Name, statusAnnotationKey) + glog.Infof("Pod %s/%s annotation %s is missing, skipping injection", metadata.Namespace, metadata.Name, requestAnnotationKey) return "", ErrMissingRequestAnnotation } injectionKey := strings.ToLower(requestedInjection)