Skip to content
Snippets Groups Projects
Commit b80e6d7c authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Merge branch 'migration-status' into 'master'

Add option to specify migration status on at the migration site

See merge request !12976
parents 542b675c 5d238ae8
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment