Welcome to mirror list, hosted at ThFree Co, Russian Federation.

host.rb « views « peek « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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