Skip to content

Commit 59fcd7b

Browse files
committed
fix metrics test
1 parent 6c94adc commit 59fcd7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/metrics/metrics_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ func TestAPIServerMetrics(t *testing.T) {
119119
}
120120

121121
// Make a request to a deprecated API to ensure there's at least one data point
122-
if _, err := client.FlowcontrolV1beta3().FlowSchemas().List(context.TODO(), metav1.ListOptions{}); err != nil {
122+
if _, err := client.AdmissionregistrationV1beta1().ValidatingAdmissionPolicies().List(context.TODO(), metav1.ListOptions{}); err != nil {
123123
t.Fatalf("unexpected error: %v", err)
124124
}
125125

0 commit comments

Comments
 (0)