debian-mirror-gitlab/lib/peek/views/host.rb

15 lines
254 B
Ruby
Raw Normal View History

2018-12-13 13:39:08 +05:30
# frozen_string_literal: true
2018-05-09 12:01:36 +05:30
module Peek
module Views
class Host < View
def results
2018-12-13 13:39:08 +05:30
{
hostname: Gitlab::Environment.hostname,
canary: Gitlab::Utils.to_boolean(ENV['CANARY'])
}
2018-05-09 12:01:36 +05:30
end
end
end
end