mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
Merge pull request #16742 from runcom/10772-docker-stats-all
Allow docker stats without arguments
This commit is contained in:
@@ -22,7 +22,6 @@ type ContainerStatsConfig struct {
|
||||
// ContainerStats writes information about the container to the stream
|
||||
// given in the config object.
|
||||
func (daemon *Daemon) ContainerStats(prefixOrName string, config *ContainerStatsConfig) error {
|
||||
|
||||
container, err := daemon.Get(prefixOrName)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user