diff --git a/pkg/manager/internal.go b/pkg/manager/internal.go index 775d29f055..5728666f5a 100644 --- a/pkg/manager/internal.go +++ b/pkg/manager/internal.go @@ -185,7 +185,7 @@ func (cm *controllerManager) serveMetrics(stop <-chan struct{}) { // Shutdown the server when stop is closed select { case <-stop: - server.Shutdown(context.TODO()) + server.Shutdown(context.Background()) } }