ekristen/aws-nuke

View on GitHub
pkg/awsutil/account.go

Summary

Maintainability
A
1 hr
Test Coverage

Function NewAccount has 63 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func NewAccount(creds *Credentials, endpoints config.CustomEndpoints) (*Account, error) {
    creds.CustomEndpoints = endpoints
    account := Account{
        Credentials: creds,
    }
Severity: Minor
Found in pkg/awsutil/account.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status