diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/helpers.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/helpers.rb b/lib/helpers.rb index 9b37c49..b321f0a 100644 --- a/lib/helpers.rb +++ b/lib/helpers.rb @@ -35,6 +35,7 @@ helpers do end def service_status(service) + return 'na' unless ServiceRegistry.instance.services.has_key? service active_notices = NoticeStore.instance.active_notices_for(service) unless (forced_state = get_forced_state(active_notices)) == nil @@ -130,4 +131,4 @@ helpers do end }.compact.reverse.join(' ') end -end
\ No newline at end of file +end |