gitlab-org--gitlab-foss/lib/peek/views/host.rb

15 lines
254 B
Ruby

# 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