Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
severinson committed Nov 14, 2023
1 parent 77ab476 commit ead55bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/scheduler/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ func (s *Scheduler) Run(ctx *armadacontext.Context) error {
// If updateAll is true, we generate events from all jobs in the jobDb.
// Otherwise, we only generate events from jobs updated since the last cycle.
func (s *Scheduler) cycle(ctx *armadacontext.Context, updateAll bool, leaderToken LeaderToken, shouldSchedule bool) (overallSchedulerResult SchedulerResult, err error) {
overallSchedulerResult = SchedulerResult{EmptyResult: true}
// TODO: Consider returning a slice of these instead.
overallSchedulerResult = SchedulerResult{}

// Update job state.
updatedJobs, err := s.syncState(ctx)
Expand Down

0 comments on commit ead55bc

Please sign in to comment.