Skip to content

Commit

Permalink
ignore gocyclo
Browse files Browse the repository at this point in the history
  • Loading branch information
mattia-fumo committed Mar 8, 2024
1 parent 6301356 commit 5d55c3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/deploy/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 5d55c3c

Please sign in to comment.