Unverified Commit dde084fc authored by Kubernetes Prow Robot's avatar Kubernetes Prow Robot Committed by GitHub

Merge pull request #71553 from WanLinghao/token-projected-volume-fix

fix a bug in 'kubectl describe'
parents d1589522 a8639e5b
...@@ -881,8 +881,8 @@ func printProjectedVolumeSource(projected *corev1.ProjectedVolumeSource, w Prefi ...@@ -881,8 +881,8 @@ func printProjectedVolumeSource(projected *corev1.ProjectedVolumeSource, w Prefi
" ConfigMapOptional:\t%v\n", " ConfigMapOptional:\t%v\n",
source.ConfigMap.Name, source.ConfigMap.Optional) source.ConfigMap.Name, source.ConfigMap.Optional)
} else if source.ServiceAccountToken != nil { } else if source.ServiceAccountToken != nil {
w.Write(LEVEL_2, "TokenExpirationSeconds:\t%v\n", w.Write(LEVEL_2, "TokenExpirationSeconds:\t%d\n",
source.ServiceAccountToken.ExpirationSeconds) *source.ServiceAccountToken.ExpirationSeconds)
} }
} }
} }
......
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