1
0
mirror of https://github.com/moby/moby.git synced 2025-07-29 07:21:35 +03:00

Various code-cleanup

remove unnescessary import aliases, brackets, and so on.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2018-05-19 13:38:54 +02:00
parent 0846a02d54
commit f23c00d870
112 changed files with 168 additions and 182 deletions

View File

@ -543,7 +543,7 @@ type buildLine struct {
}
func getImageIDsFromBuild(c *check.C, output []byte) []string {
ids := []string{}
var ids []string
for _, line := range bytes.Split(output, []byte("\n")) {
if len(line) == 0 {
continue