cleanup: clean up commented code in daemon/stats.go

Signed-off-by: Lei Jitang <leijitang@huawei.com>
Upstream-commit: 2d9c02294683e78f9165585a134b090ed47d9bff
Component: engine
This commit is contained in:
Lei Jitang
2016-06-02 14:39:12 +08:00
parent c944984315
commit 89431d14b9
-1
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
}