05dd7f9718
Resolve "Show canary / no-canary in the performance bar" Closes #52421 See merge request gitlab-org/gitlab-ce!22222
14 lines
254 B
Ruby
14 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
|