Skip to content

fix: reduce cyclomatic complexity 34 in VEXXHOST provisioner #299

@dirien

Description

@dirien

The VEXXHOST provisioner has a function with a very high cyclomatic

pkg/cloud/vexxhost/vexxhost.go:96:1: cyclomatic complexity 34 of func `(*VEXXHOST).CreateServer` is high (> 30) (gocyclo)
func (v *VEXXHOST) CreateServer(args automation.ServerArgs) (*automation.RessourceResults, error) {

We should split the fn to reduce the complexity

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions