Skip to content

Commit

Permalink
Updated log message for injectRequired. (istio#1235)
Browse files Browse the repository at this point in the history
  • Loading branch information
gyliu513 authored and rshriram committed Sep 11, 2017
1 parent a746f97 commit 5ca1648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pilot/platform/kube/inject/inject.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ func injectRequired(namespacePolicy InjectionPolicy, obj metav1.Object) bool {

status, ok := annotations[istioSidecarAnnotationStatusKey]

glog.V(2).Infof("Sidecar injection policy for %v/%v: namespace:%v useDefault:%v inject:%v status:%q required:%v",
glog.V(2).Infof("Sidecar injection policy for %v/%v: namespacePolicy:%v useDefault:%v inject:%v status:%q required:%v",
obj.GetNamespace(), obj.GetName(), namespacePolicy, useDefault, inject, status, required)

if !required {
Expand Down

0 comments on commit 5ca1648

Please sign in to comment.