Skip to content

Commit

Permalink
fix codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjumani committed Nov 14, 2024
1 parent 9318790 commit 15d209a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/kubernetes/e2e/tests/base/base_suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
"github.com/stretchr/testify/suite"
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"sigs.k8s.io/controller-runtime/pkg/client"
)

Expand Down Expand Up @@ -181,7 +180,7 @@ func (s *BaseTestingSuite) BeforeTest(suiteName, testName string) {

for _, resource := range testCase.Resources {
if pod, ok := resource.(*corev1.Pod); ok {
s.TestInstallation.Assertions.EventuallyPodsRunning(s.Ctx, pod.Namespace, v1.ListOptions{
s.TestInstallation.Assertions.EventuallyPodsRunning(s.Ctx, pod.Namespace, metav1.ListOptions{
LabelSelector: fmt.Sprintf("app.kubernetes.io/name=%s", pod.Name),
})
}
Expand Down

0 comments on commit 15d209a

Please sign in to comment.