X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/257d60253246952b435cea23b1912af80ea2c6d6..a12d68dd2e2646beb4ae68e4dd0825272e279508:/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)