mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-13 05:46:16 +00:00
Remove invalid blank line when printing jobs
This commit is contained in:
parent
fcd99461ff
commit
cb2466c50f
@ -731,7 +731,7 @@ func printJob(job *extensions.Job, w io.Writer, withNamespace bool, wide bool, s
|
|||||||
}
|
}
|
||||||
|
|
||||||
selector, _ := extensions.PodSelectorAsSelector(job.Spec.Selector)
|
selector, _ := extensions.PodSelectorAsSelector(job.Spec.Selector)
|
||||||
_, err := fmt.Fprintf(w, "%s\t%s\t%s\t%s\t%d\n",
|
_, err := fmt.Fprintf(w, "%s\t%s\t%s\t%s\t%d",
|
||||||
name,
|
name,
|
||||||
firstContainer.Name,
|
firstContainer.Name,
|
||||||
firstContainer.Image,
|
firstContainer.Image,
|
||||||
|
Loading…
Reference in New Issue
Block a user