Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
15f4fd53
Commit
15f4fd53
authored
Oct 27, 2020
by
Rubén Dávila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change type of feature flag
`development` makes more sense give it's a shot-lived FF.
parent
094759b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
ee/app/models/gitlab_subscription.rb
ee/app/models/gitlab_subscription.rb
+1
-1
ee/config/feature_flags/development/seats_in_use_for_free_or_trial.yml
...ture_flags/development/seats_in_use_for_free_or_trial.yml
+4
-4
No files found.
ee/app/models/gitlab_subscription.rb
View file @
15f4fd53
...
...
@@ -94,7 +94,7 @@ class GitlabSubscription < ApplicationRecord
# We need to show seats in use for free or trial subscriptions
# in order to make it easy for customers to get this information.
def
seats_in_use
return
super
unless
Feature
.
enabled?
(
:seats_in_use_for_free_or_trial
,
type: :ops
)
return
super
unless
Feature
.
enabled?
(
:seats_in_use_for_free_or_trial
)
return
super
if
has_a_paid_hosted_plan?
||
!
hosted?
seats_in_use_now
...
...
ee/config/feature_flags/
ops/seats-in-use-for-free-or-
trial.yml
→
ee/config/feature_flags/
development/seats_in_use_for_free_or_
trial.yml
View file @
15f4fd53
---
name
:
seats
-in-use-for-free-or-
trial
name
:
seats
_in_use_for_free_or_
trial
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/44973
rollout_issue_url
:
type
:
ops
rollout_issue_url
:
type
:
development
group
:
group::provision
default_enabled
:
tru
e
default_enabled
:
fals
e
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment