projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
257d602
)
8016: Rename Poll to PollPeriod. Amends c63c699aa9948f6a672536ba08e664471fb0d654.
author
Tom Clegg <tom@curoverse.com>
Tue, 5 Jul 2016 18:47:05 +0000
(14:47 -0400)
committer
Tom Clegg <tom@curoverse.com>
Tue, 5 Jul 2016 18:47:05 +0000
(14:47 -0400)
refs #8016
services/crunchstat/crunchstat.go
patch
|
blob
|
history
diff --git
a/services/crunchstat/crunchstat.go
b/services/crunchstat/crunchstat.go
index 8c05069dbf91acc92f6d0fccb1827203a61d14b1..cae95fdd9d6cfd30110764e4ea7c87188c0ed6aa 100644
(file)
--- a/
services/crunchstat/crunchstat.go
+++ b/
services/crunchstat/crunchstat.go
@@
-31,7
+31,7
@@
func main() {
if reporter.CgroupRoot == "" {
reporter.Logger.Fatal("error: must provide -cgroup-root")
}
- reporter.Poll = time.Duration(*pollMsec) * time.Millisecond
+ reporter.Poll
Period
= time.Duration(*pollMsec) * time.Millisecond
reporter.Start()
err := runCommand(flag.Args(), reporter.Logger)