resources/iam-workload-identity-pool-provider.go
Method IAMWorkloadIdentityPoolProviderLister.List
has 52 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (l *IAMWorkloadIdentityPoolProviderLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error) {
var resources []resource.Resource
opts := o.(*nuke.ListerOpts)
if err := opts.BeforeList(nuke.Global, "iam.googleapis.com"); err != nil {
Method IAMWorkloadIdentityPoolProviderLister.List
has 5 return statements (exceeds 4 allowed). Open
Open
func (l *IAMWorkloadIdentityPoolProviderLister) List(ctx context.Context, o interface{}) ([]resource.Resource, error) {
var resources []resource.Resource
opts := o.(*nuke.ListerOpts)
if err := opts.BeforeList(nuke.Global, "iam.googleapis.com"); err != nil {