resources/cloudwatchlogs-loggroups.go
Method CloudWatchLogsLogGroupLister.List
has 52 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (l *CloudWatchLogsLogGroupLister) List(_ context.Context, o interface{}) ([]resource.Resource, error) {
opts := o.(*nuke.ListerOpts)
svc := cloudwatchlogs.New(opts.Session)
resources := make([]resource.Resource, 0)