Skip to content

Commit

Permalink
fixing style
Browse files Browse the repository at this point in the history
  • Loading branch information
Shimin Guo committed Jan 15, 2016
1 parent d656ffb commit 97e71c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions info/v1/test/datagen.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions metrics/prometheus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 97e71c9

Please sign in to comment.