gitlab-org--gitlab-foss/app/models/clusters/instance.rb
Thong Kuah 8152efbe2f Remove instance_clusters feature_flag
Now we have terminals for instance and group clusters we can remove the
FF now. Deploying to instance clusters has been working without
complaints too.
2019-06-28 01:24:05 +12:00

13 lines
239 B
Ruby

# frozen_string_literal: true
module Clusters
class Instance
def clusters
Clusters::Cluster.instance_type
end
def feature_available?(feature)
::Feature.enabled?(feature, default_enabled: true)
end
end
end