Skip to content

Commit

Permalink
Feat: Initialize controller error outside of looping scope
Browse files Browse the repository at this point in the history
  • Loading branch information
jsun-m committed Oct 30, 2024
1 parent f5ea4c9 commit 93fd2e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/scheduler/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ func (s *Scheduler) StartProcessingRequests() {
}

go func() {
var err error
for _, c := range controllers {
// Iterates through controllers in the order of prioritized gpus to attempt to add a worker
if c == nil {
Expand Down

0 comments on commit 93fd2e6

Please sign in to comment.