ekristen/gcp-nuke

View on GitHub
resources/kms-key.go

Summary

Maintainability
A
1 hr
Test Coverage

Method KMSKeyLister.List has 61 lines of code (exceeds 50 allowed). Consider refactoring.
Open

func (l *KMSKeyLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error) {
    var resources []resource.Resource

    opts := o.(*nuke.ListerOpts)
    if err := opts.BeforeList(nuke.Regional, "cloudkms.googleapis.com"); err != nil {
Severity: Minor
Found in resources/kms-key.go - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status