Skip to content
Snippets Groups Projects
Verified Commit f6d080db authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: type in workerinfo json

parent 053fada7
Branches master
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment