Skip to content

Commit 988ba1d

Browse files
sutaakaropenshift-merge-bot[bot]
authored andcommitted
Add GetAppWrapper function
1 parent 10834f8 commit 988ba1d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: support/mcad.go

+5
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ func AppWrapper(t Test, namespace *corev1.Namespace, name string) func(g gomega.
3232
}
3333
}
3434

35+
func GetAppWrapper(t Test, namespace *corev1.Namespace, name string) *mcadv1beta1.AppWrapper {
36+
t.T().Helper()
37+
return AppWrapper(t, namespace, name)(t)
38+
}
39+
3540
func AppWrappers(t Test, namespace *corev1.Namespace) func(g gomega.Gomega) []*mcadv1beta1.AppWrapper {
3641
return func(g gomega.Gomega) []*mcadv1beta1.AppWrapper {
3742
aws, err := t.Client().MCAD().WorkloadV1beta1().AppWrappers(namespace.Name).List(t.Ctx(), metav1.ListOptions{})

0 commit comments

Comments
 (0)