Skip to content

Commit 7794529

Browse files
committed
UPSTREAM: <carry>: do-not-merge - test what happens if we fix unexpected request event emission on <5.0
1 parent 7250fd5 commit 7794529

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

staging/src/k8s.io/apiserver/pkg/server/genericapiserver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ func (s preparedGenericAPIServer) RunWithContext(ctx context.Context) error {
593593
Listener: s.SecureServingInfo.Listener,
594594
lateStopCh: lateStopCh,
595595
}
596-
unexpectedRequestsEventf.Store(s.Eventf)
596+
unexpectedRequestsEventf.Store(eventfFunc(s.Eventf))
597597

598598
// close socket after delayed stopCh
599599
shutdownTimeout := s.ShutdownTimeout

0 commit comments

Comments
 (0)