blob: 3c6ed696b9d6bf794438f6ee479a2e8a54f4534d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# frozen_string_literal: true
module Gitlab
module Environment
def self.hostname
@hostname ||= ENV['HOSTNAME'] || Socket.gethostname
end
def self.qa_user_agent
ENV['GITLAB_QA_USER_AGENT']
end
end
end
|