diff options
Diffstat (limited to 'lib/peek')
-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 da0816b364c..b77355ea11b 100644 --- a/lib/peek/views/host.rb +++ b/lib/peek/views/host.rb @@ -4,7 +4,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 |