resources/kms-key.go
Method KMSKeyLister.List
has 61 lines of code (exceeds 50 allowed). Consider refactoring. Open
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 {