diff --git a/client/allocrunner/taskrunner/stats_hook.go b/client/allocrunner/taskrunner/stats_hook.go index 1b93feec7..4d0e0bc1c 100644 --- a/client/allocrunner/taskrunner/stats_hook.go +++ b/client/allocrunner/taskrunner/stats_hook.go @@ -23,7 +23,7 @@ type statsHook struct { updater StatsUpdater interval time.Duration - // cancel is called by Exited or Canceled + // cancel is called by Exited cancel context.CancelFunc mu sync.Mutex