mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Cosmetic fix when printing a comma-separated list of layers
This commit is contained in:
parent
776705da57
commit
417e72b0dd
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ func (docker *Docker) CmdList(stdin io.ReadCloser, stdout io.Writer, args ...str
|
||||||
/* RUNNING */ fmt.Sprintf("%v", container.Running),
|
/* RUNNING */ fmt.Sprintf("%v", container.Running),
|
||||||
/* CREATED */ humanDuration(time.Now().Sub(container.Created)) + " ago",
|
/* CREATED */ humanDuration(time.Now().Sub(container.Created)) + " ago",
|
||||||
/* CHANGES */ fmt.Sprintf("%.1fM", float32(container.BytesChanged) / 1024 / 1024),
|
/* CHANGES */ fmt.Sprintf("%.1fM", float32(container.BytesChanged) / 1024 / 1024),
|
||||||
/* LAYERS */ strings.Join(layers, ", "))
|
/* LAYERS */ strings.Join(layers, ","))
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue