From dd38ab70df3a402708252e05a7b678138e2f5ebc Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sun, 3 Aug 2014 11:48:51 -0700 Subject: More debug. Signed-off-by: Robin H. Johnson --- lib/helpers.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/helpers.rb b/lib/helpers.rb index 129f9d1..6b16616 100644 --- a/lib/helpers.rb +++ b/lib/helpers.rb @@ -25,7 +25,9 @@ helpers do _service_status = service_status(service) _status_text = status_text(_service_status) _service_info = service_info(service) - service_name = ServiceRegistry.instance.services[service][:name] + #service_name = ServiceRegistry.instance.services[service][:name] + service_array = ServiceRegistry.instance.services[service] + service_name = service_array.nil? ? 'UNKNOWN NAME' : service_array[:name] data_service_name = service_name.gsub('"', "'") content << "