cli/command/container/stats.go: fix goimports
cli/command/container/stats.go:159: File is not `goimports`-ed (goimports) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
b07e921289
commit
ae5899e2b0
@ -156,7 +156,7 @@ func runStats(dockerCli command.Cli, opts *statsOptions) error {
|
|||||||
// Start a short-lived goroutine to retrieve the initial list of
|
// Start a short-lived goroutine to retrieve the initial list of
|
||||||
// containers.
|
// containers.
|
||||||
getContainerList()
|
getContainerList()
|
||||||
|
|
||||||
// make sure each container get at least one valid stat data
|
// make sure each container get at least one valid stat data
|
||||||
waitFirst.Wait()
|
waitFirst.Wait()
|
||||||
} else {
|
} else {
|
||||||
@ -175,7 +175,7 @@ func runStats(dockerCli command.Cli, opts *statsOptions) error {
|
|||||||
|
|
||||||
// make sure each container get at least one valid stat data
|
// make sure each container get at least one valid stat data
|
||||||
waitFirst.Wait()
|
waitFirst.Wait()
|
||||||
|
|
||||||
var errs []string
|
var errs []string
|
||||||
cStats.mu.Lock()
|
cStats.mu.Lock()
|
||||||
for _, c := range cStats.cs {
|
for _, c := range cStats.cs {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user