From 97e71c9ac02ec5d3550a4f5fb90f9195f0cc25ee Mon Sep 17 00:00:00 2001 From: Shimin Guo Date: Fri, 15 Jan 2016 10:22:52 -0800 Subject: [PATCH] fixing style --- info/v1/test/datagen.go | 4 ++-- metrics/prometheus_test.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/info/v1/test/datagen.go b/info/v1/test/datagen.go index 94f5e921..42a0526d 100644 --- a/info/v1/test/datagen.go +++ b/info/v1/test/datagen.go @@ -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 diff --git a/metrics/prometheus_test.go b/metrics/prometheus_test.go index 7d6dbd48..bef93bfe 100644 --- a/metrics/prometheus_test.go +++ b/metrics/prometheus_test.go @@ -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{