mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-23 18:40:53 +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())
|
_, 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.
|
||||||
|
Loading…
Reference in New Issue
Block a user