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
```
This commit is contained in:
Kubernetes Submit Queue 2017-10-24 08:35:07 -07:00 committed by GitHub
commit 9d6739c5a8

View File

@ -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())
if err != nil {
return err
}
return nil
return err
}
// Lay out all the containers on one line if use wide output.