ekristen/gcp-nuke

View on GitHub
resources/dns-managed-zone.go

Summary

Maintainability
A
35 mins
Test Coverage

Method DNSManagedZoneLister.List has 5 return statements (exceeds 4 allowed).
Open

func (l *DNSManagedZoneLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error) {
    opts := o.(*nuke.ListerOpts)
    var resources []resource.Resource

    if err := opts.BeforeList(nuke.Global, "dns.googleapis.com"); err != nil {
Severity: Major
Found in resources/dns-managed-zone.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status