Skip to content

fix: reduce cyclomatic complexity 33 in AWS provisioner #298

Description

@dirien

The AWS provisioner has a function with a very high cyclomatic

pkg/cloud/aws/aws.go:115:1: cyclomatic complexity 33 of func `(*Aws).CreateServer` is high (> 30) (gocyclo)
func (a *Aws) CreateServer(args automation.ServerArgs) (*automation.RessourceResults, error) {

We should split the fn to reduce the complexity

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions