Merge pull request #224 from tonistiigi/fix-memory-stats
Fix including memory stats field
This commit is contained in:
commit
d8c3cd8107
1 changed files with 1 additions and 0 deletions
|
@ -401,6 +401,7 @@ func convertToPb(st *runtime.Stat) *types.StatsResponse {
|
||||||
Failcnt: st.Memory.Kernel.Failcnt,
|
Failcnt: st.Memory.Kernel.Failcnt,
|
||||||
Limit: st.Memory.Kernel.Limit,
|
Limit: st.Memory.Kernel.Limit,
|
||||||
},
|
},
|
||||||
|
Stats: st.Memory.Raw,
|
||||||
}
|
}
|
||||||
pbSt.CgroupStats.BlkioStats = &types.BlkioStats{
|
pbSt.CgroupStats.BlkioStats = &types.BlkioStats{
|
||||||
IoServiceBytesRecursive: convertBlkioEntryToPb(st.Blkio.IoServiceBytesRecursive),
|
IoServiceBytesRecursive: convertBlkioEntryToPb(st.Blkio.IoServiceBytesRecursive),
|
||||||
|
|
Loading…
Reference in a new issue