1
0
mirror of https://github.com/docker/docs.git synced 2026-11-05 00:14:17 +03:00

Merge pull request #23197 from coolljt0725/cleanup_comment

cleanup: clean up commented code in daemon/stats.go
This commit is contained in:
Vincent Demeester
2016-06-02 10:12:10 +02:00

View File

@@ -47,7 +47,6 @@ func (daemon *Daemon) ContainerStats(ctx context.Context, prefixOrName string, c
getStatJSON := func(v interface{}) *types.StatsJSON {
ss := v.(types.StatsJSON)
ss.PreCPUStats = preCPUStats
// ss.MemoryStats.Limit = uint64(update.MemoryLimit)
preCPUStats = ss.CPUStats
return &ss
}