Cleanup and small fixes

This commit is contained in:
Jan Eitzinger
2022-09-13 07:38:18 +02:00
parent fd100f28dd
commit d8aaa26c27
4 changed files with 11 additions and 6 deletions

View File

@@ -19,9 +19,10 @@ import (
)
const (
RoleAdmin string = "admin"
RoleApi string = "api"
RoleUser string = "user"
RoleAdmin string = "admin"
RoleSupport string = "support"
RoleApi string = "api"
RoleUser string = "user"
)
const (

View File

@@ -74,7 +74,6 @@ var cache *lrucache.Cache = lrucache.New(128 * 1024 * 1024)
// Fetches the metric data for a job.
func LoadData(job *schema.Job,
metrics []string,
scopes []schema.MetricScope,
ctx context.Context) (schema.JobData, error) {