Skip to content

Commit

Permalink
add nolint reason
Browse files Browse the repository at this point in the history
  • Loading branch information
nawazkh committed Aug 7, 2023
1 parent 1e1cca0 commit 3aa1bb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure/services/managedclusters/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ func buildAutoScalerProfile(autoScalerProfile *AutoScalerProfile) *containerserv
// Parameters returns the parameters for the managed clusters.
// TODO: refactor this function to reduce cyclomatic complexity
//
//nolint:gocyclo
//nolint:gocyclo // Function requires a lot of nil checks that raise complexity.
func (s *ManagedClusterSpec) Parameters(ctx context.Context, existing interface{}) (params interface{}, err error) {
ctx, log, done := tele.StartSpanWithLogger(ctx, "managedclusters.Service.Parameters")
defer done()
Expand Down

0 comments on commit 3aa1bb3

Please sign in to comment.