summaryrefslogtreecommitdiff
path: root/app/models/clusters/instance.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-10-29 00:06:10 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2019-10-29 00:06:10 +0000
commitabfafe3c57f56cd76a0a9afb7275cddb12304544 (patch)
treef1a82b1afe78f1fd37234f86f3107bc8eb976742 /app/models/clusters/instance.rb
parentef326e805ac99222c55e1efd9867045800f01a4b (diff)
downloadgitlab-ce-abfafe3c57f56cd76a0a9afb7275cddb12304544.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/clusters/instance.rb')
-rw-r--r--app/models/clusters/instance.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/clusters/instance.rb b/app/models/clusters/instance.rb
index f21dbdf7f26..8c9d9ab9ab1 100644
--- a/app/models/clusters/instance.rb
+++ b/app/models/clusters/instance.rb
@@ -9,5 +9,9 @@ module Clusters
def feature_available?(feature)
::Feature.enabled?(feature, default_enabled: true)
end
+
+ def flipper_id
+ self.class.to_s
+ end
end
end