Skip to content

Commit 1a63219

Browse files
committed
[KAI integration] Fixing tests
1 parent e6634bb commit 1a63219

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ray-operator/controllers/ray/batchscheduler/kai-scheduler/kai_scheduler.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818

1919
rayv1 "github.com/ray-project/kuberay/ray-operator/apis/ray/v1"
2020
schedulerinterface "github.com/ray-project/kuberay/ray-operator/controllers/ray/batchscheduler/interface"
21+
"sigs.k8s.io/controller-runtime/pkg/client"
2122
)
2223

2324
const (
@@ -53,7 +54,7 @@ func (k *KaiScheduler) AddMetadataToPod(ctx context.Context, app *rayv1.RayClust
5354
pod.Labels[QueueLabelName] = queue
5455
}
5556

56-
func (kf *KaiSchedulerFactory) New(_ context.Context, _ *rest.Config) (schedulerinterface.BatchScheduler, error) {
57+
func (kf *KaiSchedulerFactory) New(_ context.Context, _ *rest.Config, _ client.Client) (schedulerinterface.BatchScheduler, error) {
5758
return &KaiScheduler{}, nil
5859
}
5960

0 commit comments

Comments
 (0)