Switch event recorder to use events.k8s.io/v1

This commit is contained in:
Chelsey Chen
2020-06-16 18:25:18 -04:00
parent 6cedc0853f
commit ade2422883
16 changed files with 130 additions and 119 deletions

View File

@@ -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