From dbcd51474873ea6c49de081fff35aa74a13b30b8 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Tue, 11 Apr 2023 10:35:11 +0300 Subject: [PATCH] Revert "[#16] object: Allow set `copy_number` for every placement vector" This reverts commit e022a2b831f6f6149609ecf507531ae8061629c9. --- object/grpc/service.go | 2 +- object/grpc/service.pb.go | Bin 131703 -> 131213 bytes object/marshal.go | 6 ++---- object/test/generate.go | 2 +- object/types.go | 8 ++++---- 5 files changed, 8 insertions(+), 10 deletions(-) diff --git a/object/grpc/service.go b/object/grpc/service.go index 74dc168b..44b5f4a5 100644 --- a/object/grpc/service.go +++ b/object/grpc/service.go @@ -109,7 +109,7 @@ func (m *PutRequest_Body_Init) SetHeader(v *Header) { } // SetCopiesNumber sets number of the copies to save. -func (m *PutRequest_Body_Init) SetCopiesNumber(v []uint32) { +func (m *PutRequest_Body_Init) SetCopiesNumber(v uint32) { m.CopiesNumber = v } diff --git a/object/grpc/service.pb.go b/object/grpc/service.pb.go index 6ba4090c66ebffd0a385d126d9d652ad2a8dcbba..207b0b0880ec9cd55b1c363caaa87136db46bc35 100644 GIT binary patch delta 91 zcmey~!qMBvv0=|L!IF$rh5V$f)Z`L{{XtQdK>3mY+}TmS&}t|hzx delta 604 zcmZXRF)u_x6os=A!78aFk{g|5V_BW8M5UlXB@(mq?%SR9-psf&Z)G(bqE)^Buo@DH zLgOz8{)9r*wCOY z6rOj43o-&yrBy1Dp-4fYO~g39B|M~=>v?eA5VF9KtxJ?Q+wA0_k)9d@~k1a-6LTd=javkROf$5d1_@(XeUPdEHb1q`pyiE=;D^Z%sL zP7M;^uwz3hMjX#ZsD3;22m1$^(tfoDhn9>tjVxYU=!pFAYNAYND^|!OjPBZ3&GE7Q ggZ$;Xo