Skip to content

Commit

Permalink
fix subscription checker not being propagated to scheduler (#5266) (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
dejanzele authored Apr 1, 2024
1 parent 94f7e08 commit 8358103
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/api-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,9 @@ func main() {
cfg.TestkubeNamespace,
cfg.TestkubeProTLSSecret,
)
if mode == common.ModeAgent {
sched.WithSubscriptionChecker(subscriptionChecker)
}

slackLoader, err := newSlackLoader(cfg, envs)
if err != nil {
Expand Down

0 comments on commit 8358103

Please sign in to comment.