Commit 9d6739c5 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #54380 from zhangxiaoyu-zidif/delete-err-check-printer

Automatic merge from submit-queue (batch tested with PRs 54229, 54380, 54302, 54454). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Delete redundant err check **What this PR does / why we need it**: This process is redundant. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
parents fd36b824 46e33f42
...@@ -1753,10 +1753,7 @@ func layoutContainers(containers []api.Container, w io.Writer) error { ...@@ -1753,10 +1753,7 @@ func layoutContainers(containers []api.Container, w io.Writer) error {
} }
} }
_, err := fmt.Fprintf(w, "\t%s\t%s", namesBuffer.String(), imagesBuffer.String()) _, err := fmt.Fprintf(w, "\t%s\t%s", namesBuffer.String(), imagesBuffer.String())
if err != nil { return err
return err
}
return nil
} }
// Lay out all the containers on one line if use wide output. // Lay out all the containers on one line if use wide output.
......
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