mirror of https://github.com/docker/cli.git
Merge pull request #2836 from thaJeztah/fix_goimports
cli/command/container/stats.go: fix goimports
This commit is contained in:
commit
4c12f1a921
|
@ -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…
Reference in New Issue