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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
254 B
Ruby
Raw Normal View History

# 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