瀏覽代碼

Merge pull request #23197 from coolljt0725/cleanup_comment

cleanup: clean up commented code in daemon/stats.go
Vincent Demeester 9 年之前
父節點
當前提交
b02acfcbe0
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      daemon/stats.go

+ 0 - 1
daemon/stats.go

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