fixing style
This commit is contained in:
parent
d656ffb0db
commit
97e71c9ac0
@ -44,8 +44,8 @@ func GenerateRandomStats(numStats, numCores int, duration time.Duration) []*info
|
||||
stats.Cpu.Usage.User = stats.Cpu.Usage.Total
|
||||
stats.Cpu.Usage.System = 0
|
||||
stats.Memory.Usage = uint64(rand.Int63n(4096))
|
||||
stats.Memory.Cache = uint64(rand.Int63n(4096))
|
||||
stats.Memory.RSS = uint64(rand.Int63n(4096))
|
||||
stats.Memory.Cache = uint64(rand.Int63n(4096))
|
||||
stats.Memory.RSS = uint64(rand.Int63n(4096))
|
||||
ret[i] = stats
|
||||
}
|
||||
return ret
|
||||
|
@ -85,8 +85,8 @@ func (p testSubcontainersInfoProvider) SubcontainersInfo(string, *info.Container
|
||||
Pgfault: 12,
|
||||
Pgmajfault: 13,
|
||||
},
|
||||
Cache: 14,
|
||||
RSS: 15,
|
||||
Cache: 14,
|
||||
RSS: 15,
|
||||
},
|
||||
Network: info.NetworkStats{
|
||||
InterfaceStats: info.InterfaceStats{
|
||||
|
Loading…
Reference in New Issue
Block a user