Merge pull request #224 from tonistiigi/fix-memory-stats

Fix including memory stats field
This commit is contained in:
Michael Crosby 2016-04-28 11:38:46 -07:00
commit d8c3cd8107

View file

@ -401,6 +401,7 @@ func convertToPb(st *runtime.Stat) *types.StatsResponse {
Failcnt: st.Memory.Kernel.Failcnt,
Limit: st.Memory.Kernel.Limit,
},
Stats: st.Memory.Raw,
}
pbSt.CgroupStats.BlkioStats = &types.BlkioStats{
IoServiceBytesRecursive: convertBlkioEntryToPb(st.Blkio.IoServiceBytesRecursive),