mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-17 15:50:10 +00:00
Delete redundant err check
This commit is contained in:
parent
6f06408eea
commit
46e33f4234
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user