From 4172ddbafe340a89eb7f8cbac537b7d7c386129d Mon Sep 17 00:00:00 2001 From: Aaron Son Date: Fri, 9 Oct 2020 14:58:32 -0700 Subject: [PATCH] go/util/sremotesrv: grpc.go: Echo the client's NbsVersion in GetRepoMetadata. --- go/utils/remotesrv/grpc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/utils/remotesrv/grpc.go b/go/utils/remotesrv/grpc.go index 86c06b4f9c..b762c83250 100644 --- a/go/utils/remotesrv/grpc.go +++ b/go/utils/remotesrv/grpc.go @@ -301,7 +301,7 @@ func (rs *RemoteChunkStore) GetRepoMetadata(ctx context.Context, req *remotesapi return &remotesapi.GetRepoMetadataResponse{ NbfVersion: cs.Version(), - NbsVersion: nbs.StorageVersion, + NbsVersion: req.ClientRepoFormat.NbsVersion, StorageSize: size, }, nil }