summaryrefslogtreecommitdiff
path: root/lib/peek/views/host.rb
blob: b77355ea11bbaf1e8b97083209b12575d3a37c02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module Peek
  module Views
    class Host < View
      def results
        {
          hostname: Gitlab::Environment.hostname,
          canary: Gitlab::Utils.to_boolean(ENV['CANARY'])
        }
      end
    end
  end
end