Skip to content

Commit

Permalink
Merge pull request #14 from shrey-rajvanshi/patch-1
Browse files Browse the repository at this point in the history
Corrects error message for missing request annotation
  • Loading branch information
byxorna authored May 3, 2019
2 parents 64f8ede + 1ddc3a2 commit 425ac57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/server/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 425ac57

Please sign in to comment.