Merge branch 'bvl-move-import-common-metrics-migration' into 'master'
Reset column information before running CommonMetricsImporter Closes #51305 See merge request gitlab-org/gitlab-ce!21647
This commit is contained in:
commit
e39e8f8f95
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,8 @@ module Importers
|
|||
end
|
||||
|
||||
def execute
|
||||
PrometheusMetric.reset_column_information
|
||||
|
||||
process_content do |id, attributes|
|
||||
find_or_build_metric!(id)
|
||||
.update!(**attributes)
|
||||
|
|
Loading…
Reference in a new issue