From 7802f8e007bee4594bee85c2a29cfdfb5c41c41d Mon Sep 17 00:00:00 2001 From: Jeff Ohrstrom Date: Thu, 12 Oct 2023 16:48:10 -0400 Subject: [PATCH] sort to fix ruby 2.7 tests --- apps/dashboard/app/lib/account_cache.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/dashboard/app/lib/account_cache.rb b/apps/dashboard/app/lib/account_cache.rb index ed8f27e1b6..b32d01fa91 100644 --- a/apps/dashboard/app/lib/account_cache.rb +++ b/apps/dashboard/app/lib/account_cache.rb @@ -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}")