Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cli/command/container/stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really odd; last PR was #2785, and that commit doesn't show the whitespace 🤔 ??? 53e2110

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also checking the diff on the PR, and it doesn't show the whitespace; I checked if I had "hide whitespace changes" enabled, but I don't; https://github.com/docker/cli/pull/2785/files

Screenshot 2020-11-10 at 17 55 34

// make sure each container get at least one valid stat data
waitFirst.Wait()
} else {
Expand All @@ -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 {
Expand Down