Skip to content

Commit

Permalink
Remove alpha1 Runs Client setup in init test
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeJu committed Apr 21, 2023
1 parent a941df2 commit 861fa32
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions test/init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,15 +291,6 @@ func getCRDYaml(ctx context.Context, cs *clients, ns string) ([]byte, error) {
printOrAdd(i)
}

v1alpha1Runs, err := cs.V1alpha1RunClient.List(ctx, metav1.ListOptions{})
if err != nil {
return nil, fmt.Errorf("could not get v1alpha1 runs: %w", err)
}
for _, i := range v1alpha1Runs.Items {
i.SetManagedFields(nil)
printOrAdd(i)
}

v1beta1CustomRuns, err := cs.V1beta1CustomRunClient.List(ctx, metav1.ListOptions{})
if err != nil {
return nil, fmt.Errorf("could not get v1beta1 customruns: %w", err)
Expand Down

0 comments on commit 861fa32

Please sign in to comment.