From 241ac018e25c91011cafee78aaa0b8866fa0d4a3 Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Mon, 2 Jun 2025 08:44:36 +0200 Subject: [PATCH] DRA integration: remove unnecessary anonymous import It's unclear why k8s.io/kubernetes/pkg/apis/resource/install needs to be imported explicitly. Having the apiserver and scheduler ready to be started ensures that all APIs are available. --- test/integration/dra/objects.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/integration/dra/objects.go b/test/integration/dra/objects.go index 4d4c7eb3f27..d9c2baea0f9 100644 --- a/test/integration/dra/objects.go +++ b/test/integration/dra/objects.go @@ -27,8 +27,6 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/validation" "k8s.io/utils/ptr" - - _ "k8s.io/kubernetes/pkg/apis/resource/install" ) // NewMaxResourceSlice creates a slice that is as large as possible given the current validation constraints.