diff options
Diffstat (limited to 'lib/peek/views/host.rb')
-rw-r--r-- | lib/peek/views/host.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/peek/views/host.rb b/lib/peek/views/host.rb index 43c8a35c7ea..4fc70fbcebc 100644 --- a/lib/peek/views/host.rb +++ b/lib/peek/views/host.rb @@ -2,7 +2,10 @@ module Peek module Views class Host < View def results - { hostname: Gitlab::Environment.hostname } + { + hostname: Gitlab::Environment.hostname, + canary: Gitlab::Utils.to_boolean(ENV['CANARY']) + } end end end |