diff options
Diffstat (limited to 'lib/generators/gitlab/usage_metric_definition_generator.rb')
-rw-r--r-- | lib/generators/gitlab/usage_metric_definition_generator.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/generators/gitlab/usage_metric_definition_generator.rb b/lib/generators/gitlab/usage_metric_definition_generator.rb index 4ddbe8b9f09..cdbfda2495b 100644 --- a/lib/generators/gitlab/usage_metric_definition_generator.rb +++ b/lib/generators/gitlab/usage_metric_definition_generator.rb @@ -73,10 +73,6 @@ module Gitlab private - def metric_name_suggestion(key_path) - "\nname: \"#{Usage::Metrics::NamesSuggestions::Generator.generate(key_path)}\"" - end - def file_path(key_path) path = File.join(TOP_LEVEL_DIR, 'metrics', directory&.name, "#{file_name(key_path)}.yml") path = File.join(TOP_LEVEL_DIR_EE, path) if ee? |