vmware / terraform-provider-vmc

Terraform Provider for VMware Cloud on AWS
https://registry.terraform.io/providers/vmware/vmc/
Mozilla Public License 2.0
24 stars 27 forks source link

fix: indent-error-flow #269

Closed tenthirtyam closed 1 month ago

tenthirtyam commented 1 month ago

In order to have a good experience with our community, we recommend that you read the contributing guidelines for making a pull request.

Summary of Pull Request

Simplified the ConvertDeployType function by removing an unnecessary else statement identified by golangci-lint.

vmc/utils.go:48:9: indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
        } else {
                return ""
        }

Type of Pull Request

Related to Existing Issues

Issue Number: N/A

Test and Documentation Coverage

For bug fixes or features:

Breaking Changes?