Merge pull request #2836 from thaJeztah/fix_goimports

cli/command/container/stats.go: fix goimports
This commit is contained in:
Tibor Vass 2020-11-10 12:47:09 -08:00 committed by GitHub
commit 4c12f1a921
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ func runStats(dockerCli command.Cli, opts *statsOptions) error {
// Start a short-lived goroutine to retrieve the initial list of
// containers.
getContainerList()
// make sure each container get at least one valid stat data
waitFirst.Wait()
} else {
@ -175,7 +175,7 @@ func runStats(dockerCli command.Cli, opts *statsOptions) error {
// make sure each container get at least one valid stat data
waitFirst.Wait()
var errs []string
cStats.mu.Lock()
for _, c := range cStats.cs {