ManageIQ/manageiq

View on GitHub
app/models/policy_event.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
96%

Use filter_map instead.
Open

    contents.collect { |c| c.resource if c.resource.kind_of?(MiqPolicySet) }.compact
Severity: Minor
Found in app/models/policy_event.rb by rubocop

Use filter_map instead.
Open

    contents.collect { |c| c.resource if c.resource.kind_of?(MiqAction) }.compact
Severity: Minor
Found in app/models/policy_event.rb by rubocop

There are no issues that match your filters.

Category
Status