Merge pull request #16742 from runcom/10772-docker-stats-all

Allow docker stats without arguments
This commit is contained in:
Sebastiaan van Stijn
2015-11-07 19:41:03 +00:00
6 changed files with 232 additions and 23 deletions

View File

@@ -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