Commit ac94a0a2 authored by WanLinghao's avatar WanLinghao

fix a nit error in log

parent 28b7809d
...@@ -165,7 +165,7 @@ func (v *validator) Validate(_ string, public *jwt.Claims, privateObj interface{ ...@@ -165,7 +165,7 @@ func (v *validator) Validate(_ string, public *jwt.Claims, privateObj interface{
// Make sure token hasn't been invalidated by deletion of the pod // Make sure token hasn't been invalidated by deletion of the pod
pod, err := v.getter.GetPod(namespace, podref.Name) pod, err := v.getter.GetPod(namespace, podref.Name)
if err != nil { if err != nil {
glog.V(4).Infof("Could not retrieve bound secret %s/%s for service account %s/%s: %v", namespace, podref.Name, namespace, saref.Name, err) glog.V(4).Infof("Could not retrieve bound pod %s/%s for service account %s/%s: %v", namespace, podref.Name, namespace, saref.Name, err)
return "", "", "", errors.New("Token has been invalidated") return "", "", "", errors.New("Token has been invalidated")
} }
if pod.DeletionTimestamp != nil { if pod.DeletionTimestamp != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment