Skip to content

Commit

Permalink
sort to fix ruby 2.7 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
johrstrom committed Oct 12, 2023
1 parent 5d49948 commit 7802f8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/dashboard/app/lib/account_cache.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ def queues
end

[queue_name, queue_name, data]
end.sort_by do |tuple|
tuple[0]
end
rescue StandardError => e
Rails.logger.warn("Did not get queues from system with error #{e}")
Expand Down

0 comments on commit 7802f8e

Please sign in to comment.