Merge branch 'migration-status' into 'master'
Add option to specify migration status on at the migration site See merge request !12976
This commit is contained in:
commit
b80e6d7c17
1 changed files with 2 additions and 2 deletions
|
@ -86,8 +86,8 @@ module Gitlab
|
|||
feature.enabled?
|
||||
end
|
||||
|
||||
def self.migrate(feature)
|
||||
is_enabled = feature_enabled?(feature)
|
||||
def self.migrate(feature, status: MigrationStatus::OPT_IN)
|
||||
is_enabled = feature_enabled?(feature, status: status)
|
||||
metric_name = feature.to_s
|
||||
metric_name += "_gitaly" if is_enabled
|
||||
|
||||
|
|
Loading…
Reference in a new issue