Switch event recorder to use events.k8s.io/v1
This commit is contained in:
@@ -105,7 +105,7 @@ func initTestSchedulerWithOptions(
|
||||
|
||||
podInformer := testCtx.informerFactory.Core().V1().Pods()
|
||||
eventBroadcaster := events.NewBroadcaster(&events.EventSinkImpl{
|
||||
Interface: testCtx.clientSet.EventsV1beta1().Events(""),
|
||||
Interface: testCtx.clientSet.EventsV1(),
|
||||
})
|
||||
|
||||
var err error
|
||||
|
Reference in New Issue
Block a user