diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-29 00:06:10 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-29 00:06:10 +0000 |
commit | abfafe3c57f56cd76a0a9afb7275cddb12304544 (patch) | |
tree | f1a82b1afe78f1fd37234f86f3107bc8eb976742 /app/models/clusters/instance.rb | |
parent | ef326e805ac99222c55e1efd9867045800f01a4b (diff) | |
download | gitlab-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.rb | 4 |
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 |