From 5d55c3c6046f65ffa7e49ed36f1cc8a16db7d900 Mon Sep 17 00:00:00 2001 From: Mattia Fumo Date: Fri, 8 Mar 2024 16:28:20 +0100 Subject: [PATCH] ignore gocyclo --- pkg/deploy/apply.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/deploy/apply.go b/pkg/deploy/apply.go index e710970..fc4a82c 100644 --- a/pkg/deploy/apply.go +++ b/pkg/deploy/apply.go @@ -93,6 +93,8 @@ func withDeletableResource(apply applyFunction) applyFunction { // withAwaitableResource is an apply function decorator that awaits resources // decorated with awaitCompletionAnnotation for completion after they are // applied on the cluster +// +//gocyclo:ignore func withAwaitableResource(apply applyFunction) applyFunction { return func(clients *k8sClients, res resourceutil.Resource, deployConfig utils.DeployConfig) error { gvr, err := resourceutil.FromGVKtoGVR(clients.discovery, res.Object.GroupVersionKind())