diff --git a/worker.go b/worker.go index 65bf564b68f16212e2957539ad83606eb5c2dc15..5dcb8bef5c4a9ff47604165599c042bcf85f3b2f 100644 --- a/worker.go +++ b/worker.go @@ -9,9 +9,10 @@ import ( "context" "errors" "fmt" - "github.com/google/uuid" "sync" "time" + + "github.com/google/uuid" ) type WorkerStatus int @@ -46,7 +47,7 @@ type Statistic struct { JobsAssigned int `json:"jobsAssigned"` JobsCompleted int `json:"jobsCompleted"` FailedJobs int `json:"failedJobs"` - TotalExecutionTime time.Duration `json:"totalExecution_time"` + TotalExecutionTime time.Duration `json:"totalExecutionTime"` } func (s *Statistic) AverageExecutionTime() time.Duration {