Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
Signed-off-by: pmahindrakar-oss <[email protected]>
  • Loading branch information
pmahindrakar-oss committed Nov 22, 2023
1 parent 7769486 commit 76d3c81
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flyteadmin/scheduler/core/gocron_scheduler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,12 +378,12 @@ func TestGoCronScheduler_BootStrapSchedulesFromSnapShot(t *testing.T) {
t.Run(tt.name, func(t *testing.T) {
g.BootStrapSchedulesFromSnapShot(context.Background(), tt.schedules, tt.snapshoter)
g.jobStore.Range(func(key, value interface{}) bool {
jobId := key.(string)
jobID := key.(string)
job := value.(*GoCronJob)
if !*job.schedule.Active {
return true
}
assert.Equal(t, job.catchupFromTime, tt.expectedCatchUpTimes[jobId])
assert.Equal(t, job.catchupFromTime, tt.expectedCatchUpTimes[jobID])
return true
})
for _, schedule := range tt.schedules {
Expand Down

0 comments on commit 76d3c81

Please sign in to comment.