From c0dd4fcb153e3603d65afb156c3e77883627889f Mon Sep 17 00:00:00 2001 From: Evgeniy Kulikov Date: Wed, 5 Feb 2020 14:34:23 +0300 Subject: [PATCH] Get range response struct --- docs/object.md | 2 +- object/service.pb.go | Bin 123088 -> 122924 bytes object/service.proto | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/object.md b/docs/object.md index 997991a..d13b676 100644 --- a/docs/object.md +++ b/docs/object.md @@ -210,7 +210,7 @@ in distributed system. | Field | Type | Label | Description | | ----- | ---- | ----- | ----------- | -| Fragments | [bytes](#bytes) | repeated | Fragments of object's payload | +| Fragment | [bytes](#bytes) | | Fragment of object's payload | diff --git a/object/service.pb.go b/object/service.pb.go index 0e40508d44a3d7fbbaffdeba7cf9aa903ba924ca..10fbe51d8ab0df3a3fd328435960ba8b7dc15971 100644 GIT binary patch delta 4113 zcmYk9ONf?L7{_@n(;0%y3o60*P0~f0ocDf#h9anqi=dqb#d|eD2a}ojsKu*hA`~bb zVm57pcDWFSnvJ3Dx>Bnkg1}Xqf^65S&iVh&G&76CH|O#^|L6Z)-=DtPb@T47TVI?s z8z<+?_2!^ieDJZ|FJGunpX--b%$`#R&3DhQt=~Cy=K=HEi6?jY6LatMQy;w%>|Fo# z^^ASD%5Q!bc0?OGO88QTxJ%7gVO0irJY>Q z>cZ_8`dtV`qn)aE`>}QsVGIi?$lUQb1$V5IPTHU!$7wEntt6$o)Jk3`#2Fru3sXI=h0Ee~E*u0V5#0dGB&e65 zLBCND=~;v!QYoWGA4s*J!quQlHk_OWBqfs63P2*Ay=3$<8dueVngd&i2&x`uC>F6l z-!yY}X0(whpv?N`E$i+iDHkR*@9@h-On?$DHF|~#r8URu zAA}on6IqzbD#9%i3Lge?I$>StP83T6kRSutkwD_BNbF7cSSn>)D`&NGZX`Xm zu(p!HJ~65Ao#rBMki(Qv(*bmn1|mz9VpS$kw+OeWUl=V`GK~y`w@OzXKj9QULs^Tv zGhyt-YK41h+@OCDK{c$1J(+{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zkFHKEOHqWiNC+6J3eQ4fY$(K&m z?g%{Hn0(d+cQN>K+VKXz?R8EV?RO6LOgS%aEl)cizw4|H+{4bjTW2pg*PNMA1@msc zyj(9;qfXBa4n68j?>A0QPL|Itzc_lf@E?L^5BP(VZ#(xmvs>RCbZ$D`#xqk}#?SLJ Fe*>5OZASnA diff --git a/object/service.proto b/object/service.proto index fb80e5d..662bf8a 100644 --- a/object/service.proto +++ b/object/service.proto @@ -163,8 +163,8 @@ message GetRangeRequest { } message GetRangeResponse { - // Fragments of object's payload - repeated bytes Fragments = 1; + // Fragment of object's payload + bytes Fragment = 1; } message GetRangeHashRequest {