From 8319b59238925960597650d3227310d8b6f187ec Mon Sep 17 00:00:00 2001 From: Anton Nikiforov Date: Mon, 19 Aug 2024 12:33:15 +0300 Subject: [PATCH] [#1318] Fix gofumpt issue Signed-off-by: Anton Nikiforov --- pkg/services/object/metrics.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/services/object/metrics.go b/pkg/services/object/metrics.go index e53b7584f..61aed5003 100644 --- a/pkg/services/object/metrics.go +++ b/pkg/services/object/metrics.go @@ -213,6 +213,7 @@ func (s putStreamMetric) CloseAndRecv(ctx context.Context) (*object.PutResponse, return res, err } + func (s patchStreamMetric) Send(ctx context.Context, req *object.PatchRequest) error { s.metrics.AddPayloadSize("Patch", len(req.GetBody().GetPatch().GetChunk()))