summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2019-06-14 18:29:25 +0100
committerNick Thomas <nick@gitlab.com>2019-06-14 18:29:25 +0100
commit4f817379401e8b1f6dd0be339929470dfa62ba47 (patch)
treea81d921d71895c61739ba9723b4e3fdbffa3d9c0
parenteccb2373060cb48628e49adf0d9267b128e98b38 (diff)
downloadgitlab-ce-12173-renumber-user-callout-enum.tar.gz
Renumber a new UserCallout enum for EE compatibility12173-renumber-user-callout-enum
-rw-r--r--app/models/user_callout_enums.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/models/user_callout_enums.rb b/app/models/user_callout_enums.rb
index 54b0d2ce831..7b68e5076c7 100644
--- a/app/models/user_callout_enums.rb
+++ b/app/models/user_callout_enums.rb
@@ -6,12 +6,15 @@ module UserCalloutEnums
#
# This method is separate from the `UserCallout` model so that it can be
# extended by EE.
+ #
+ # If you are going to add new items to this hash, check that you're not going
+ # to conflict with EE-only values: https://gitlab.com/gitlab-org/gitlab-ee/blob/master/ee/app/models/ee/user_callout_enums.rb
def self.feature_names
{
gke_cluster_integration: 1,
gcp_signup_offer: 2,
cluster_security_warning: 3,
- suggest_popover_dismissed: 4
+ suggest_popover_dismissed: 9
}
end
end