fix gofmt

This commit is contained in:
Angela Li 2019-07-18 16:15:39 -07:00
parent 3764360ccc
commit 99a7a0a53b
2 changed files with 2 additions and 2 deletions

View File

@ -207,7 +207,7 @@ func (p *perfCounterNodeStatsClient) convertCPUValue(cpuCores int, cpuValue uint
}
func (p *perfCounterNodeStatsClient) getCPUUsageNanoCores() uint64 {
cpuUsageNanoCores := (p.cpuUsageCoreNanoSecondsCache.latestValue - p.cpuUsageCoreNanoSecondsCache.previousValue) * uint64(time.Second / time.Nanosecond) / uint64(defaultCachePeriod)
cpuUsageNanoCores := (p.cpuUsageCoreNanoSecondsCache.latestValue - p.cpuUsageCoreNanoSecondsCache.previousValue) * uint64(time.Second/time.Nanosecond) / uint64(defaultCachePeriod)
return cpuUsageNanoCores
}