Skip to content

Commit

Permalink
update updateCapp
Browse files Browse the repository at this point in the history
Signed-off-by: Ariel Septon <64063409+arielsepton@users.noreply.github.com>
  • Loading branch information
arielsepton committed Apr 18, 2024
1 parent 326e8c2 commit 2ca6a6a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/e2e_tests/utils/capp_adpater.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,8 @@ func GetCapp(k8sClient client.Client, name string, namespace string) *cappv1alph
}

// UpdateCapp updates the provided Capp instance in the Kubernetes cluster, and returns it.
func UpdateCapp(k8sClient client.Client, capp *cappv1alpha1.Capp) *cappv1alpha1.Capp {
func UpdateCapp(k8sClient client.Client, capp *cappv1alpha1.Capp) {
Expect(k8sClient.Update(context.Background(), capp)).To(Succeed())
return capp
}

// DoesFinalizerExist checks if a finalizer exists on a Capp.
Expand Down

0 comments on commit 2ca6a6a

Please sign in to comment.