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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-10-29 03:06:10 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-10-29 03:06:10 +0300
commitabfafe3c57f56cd76a0a9afb7275cddb12304544 (patch)
treef1a82b1afe78f1fd37234f86f3107bc8eb976742 /app/models
parentef326e805ac99222c55e1efd9867045800f01a4b (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models')
-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