forked from TrueCloudLab/frostfs-node
[#1322] Use new protobuf marshaler
Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
This commit is contained in:
parent
a345c972bf
commit
7bca428db0
29 changed files with 24581 additions and 17533 deletions
|
@ -30,10 +30,10 @@ func (s *Server) ListShards(_ context.Context, req *control.ListShardsRequest) (
|
|||
for _, sh := range info.Shards {
|
||||
si := new(control.ShardInfo)
|
||||
|
||||
si.SetID(*sh.ID)
|
||||
si.SetShard_ID(*sh.ID)
|
||||
si.SetMetabasePath(sh.MetaBaseInfo.Path)
|
||||
si.Blobstor = blobstorInfoToProto(sh.BlobStorInfo)
|
||||
si.SetWriteCachePath(sh.WriteCacheInfo.Path)
|
||||
si.SetWritecachePath(sh.WriteCacheInfo.Path)
|
||||
si.SetPiloramaPath(sh.PiloramaInfo.Path)
|
||||
|
||||
var m control.ShardMode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue