Fix including memory stats field

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
Tonis Tiigi 2016-04-27 18:42:16 -07:00
parent 25de9de446
commit 62c89c1c50

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),