Skip to content

Commit

Permalink
chore: rename duplicate job
Browse files Browse the repository at this point in the history
  • Loading branch information
adityathebe authored and moshloop committed Oct 16, 2024
1 parent 1a609fe commit c8b6013
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions pkg/jobs/canary/canary_jobs.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ import (
"k8s.io/apimachinery/pkg/types"
)

var CanaryScheduler = cron.New()
var CanaryConfigFiles []string
var DataFile string
var Executor bool
var LogPass, LogFail bool
var MinimumTimeBetweenCanaryRuns = 10 * time.Second
var FuncScheduler = cron.New()
var (
CanaryScheduler = cron.New()
CanaryConfigFiles []string
DataFile string
Executor bool
LogPass, LogFail bool
MinimumTimeBetweenCanaryRuns = 10 * time.Second
FuncScheduler = cron.New()
)

var CanaryStatusChannel chan CanaryStatusPayload

Expand Down Expand Up @@ -193,7 +195,7 @@ func logIfError(err error, description string) {
}

var CleanupDeletedCanaryChecks = &dutyjob.Job{
Name: "CleanupChecks",
Name: "CleanupDeletedCanaryChecks",
Schedule: "@every 1h",
Singleton: true,
JobHistory: true,
Expand Down

0 comments on commit c8b6013

Please sign in to comment.