diff --git a/azure/services/managedclusters/spec.go b/azure/services/managedclusters/spec.go index 9fad266fc84..8cff8ea2fe5 100644 --- a/azure/services/managedclusters/spec.go +++ b/azure/services/managedclusters/spec.go @@ -261,6 +261,9 @@ func buildAutoScalerProfile(autoScalerProfile *AutoScalerProfile) *containerserv } // Parameters returns the parameters for the managed clusters. +// TODO: refactor this function to reduce cyclomatic complexity +// +//nolint:gocyclo func (s *ManagedClusterSpec) Parameters(ctx context.Context, existing interface{}) (params interface{}, err error) { ctx, log, done := tele.StartSpanWithLogger(ctx, "managedclusters.Service.Parameters") defer done()