X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/37f07a3f9f202f66a88eb70dcd0002713889a9b0..ba57b6537679889b42693ecd839a94d59c716aaf:/services/crunchstat/crunchstat.go diff --git a/services/crunchstat/crunchstat.go b/services/crunchstat/crunchstat.go index 8c05069dbf..cae95fdd9d 100644 --- 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.PollPeriod = time.Duration(*pollMsec) * time.Millisecond reporter.Start() err := runCommand(flag.Args(), reporter.Logger)