Welcome to mirror list, hosted at ThFree Co, Russian Federation.

instance.rb « clusters « models « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fde83c5a8ad62f4ac8b97c4640483fe9eebd6bf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class Clusters::Instance
  def clusters
    Clusters::Cluster.instance_type
  end

  def feature_available?(feature)
    ::Feature.enabled?(feature, default_enabled: true)
  end
end