summaryrefslogtreecommitdiff
path: root/app/services/service_ping
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-10-14 12:09:39 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-10-14 12:09:39 +0000
commit24952631402d6fb352749c688bc059d6ca74217d (patch)
tree45cd8aab49f6e2fba01a78d47a20160a7a2824dd /app/services/service_ping
parent641b65c021767da7cb82bf64d9784e91c8cfb308 (diff)
downloadgitlab-ce-24952631402d6fb352749c688bc059d6ca74217d.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/service_ping')
-rw-r--r--app/services/service_ping/submit_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/service_ping/submit_service.rb b/app/services/service_ping/submit_service.rb
index 3417ce4f583..63e01603d47 100644
--- a/app/services/service_ping/submit_service.rb
+++ b/app/services/service_ping/submit_service.rb
@@ -78,7 +78,7 @@ module ServicePing
def store_metrics(response)
metrics = response['conv_index'] || response['dev_ops_score'] # leaving dev_ops_score here, as the response data comes from the gitlab-version-com
- return unless metrics.present?
+ return unless metrics.except('usage_data_id').present?
DevOpsReport::Metric.create!(
metrics.slice(*METRICS)