File 0001-Fix-nameless-cluster-display-bsc-1137891.patch of Package hawk2.12073

From 218a82b7037112d89426d4ad99dabd175818a660 Mon Sep 17 00:00:00 2001
From: ayoub-belarbi <belarbi.ayoub@gmail.com>
Date: Fri, 12 Jul 2019 11:25:46 +0200
Subject: [PATCH] Fix nameless cluster display (bsc#1137891)

---
 hawk/app/helpers/dashboards_helper.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hawk/app/helpers/dashboards_helper.rb b/hawk/app/helpers/dashboards_helper.rb
index 9509b9c3..6b9901c1 100644
--- a/hawk/app/helpers/dashboards_helper.rb
+++ b/hawk/app/helpers/dashboards_helper.rb
@@ -10,7 +10,7 @@ module DashboardsHelper
   end
 
   def escape_cluster_name(cluster_name)
-    return "(none)" if cluster_name.blank?
+    return "none" if cluster_name.blank?
     cluster_name.gsub(/[^0-9A-Za-z]/, '')
   end
 
-- 
2.16.4

openSUSE Build Service is sponsored by