Commit e7592b1c authored by feihujiang's avatar feihujiang

Change variables to environment variables when describe containers

parent a918044e
......@@ -725,7 +725,7 @@ func describeContainers(pod *api.Pod, out io.Writer) {
}
fmt.Fprintf(out, " Ready:\t%v\n", printBool(status.Ready))
fmt.Fprintf(out, " Restart Count:\t%d\n", status.RestartCount)
fmt.Fprintf(out, " Variables:\n")
fmt.Fprintf(out, " Environment Variables:\n")
for _, e := range container.Env {
if e.ValueFrom != nil && e.ValueFrom.FieldRef != nil {
valueFrom := envValueFrom(pod, e)
......
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