mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
Remove superflous method call.
No `nil` values to be expected here.
This commit is contained in:
parent
fc8915caf3
commit
452236ece3
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class Admin::SystemCheck::MissingIndexesCheck < Admin::SystemCheck::BaseCheck
|
|||
@missing_indexes ||= begin
|
||||
expected_indexes_by_table.flat_map do |table, indexes|
|
||||
expected_indexes = indexes.map(&:name)
|
||||
(expected_indexes - existing_indexes_for(table)).compact
|
||||
expected_indexes - existing_indexes_for(table)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue