Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/service/smarthttp/upload_pack.go')
-rw-r--r--internal/service/smarthttp/upload_pack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/service/smarthttp/upload_pack.go b/internal/service/smarthttp/upload_pack.go
index a0107517b..295019840 100644
--- a/internal/service/smarthttp/upload_pack.go
+++ b/internal/service/smarthttp/upload_pack.go
@@ -49,7 +49,7 @@ func (s *server) PostUploadPack(stream gitalypb.SmartHTTPService_PostUploadPackS
ctxlogrus.Extract(stream.Context()).WithError(err).Debug("failed parsing packfile negotiation")
return
}
- stats.UpdateMetrics(s.packfileNegotiationMetrics)
+ stats.UpdateMetrics(ctx, s.packfileNegotiationMetrics)
statsCh <- stats
}()