From 8959621826a8e1da57aa00d6b58819eab19d2716 Mon Sep 17 00:00:00 2001 From: Leonard Lyubich Date: Wed, 5 Feb 2020 14:21:15 +0300 Subject: [PATCH] change GetRangeResponse type from 'repeated bytes' to 'bytes' --- object/service.proto | 4 ++-- proto-docs/object.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 { diff --git a/proto-docs/object.md b/proto-docs/object.md index 2d8de6f..3c4a0ec 100644 --- a/proto-docs/object.md +++ b/proto-docs/object.md @@ -209,7 +209,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 |