mirror of https://github.com/milvus-io/milvus.git
Fix bug: unmarshal got unexpected EOF
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>pull/4973/head^2
parent
604f96ed2b
commit
7bad0a01e9
|
@ -804,7 +804,7 @@ func (s *Server) GetSegmentInfo(ctx context.Context, req *datapb.GetSegmentInfoR
|
|||
resp.Status.Reason = err.Error()
|
||||
return resp, nil
|
||||
}
|
||||
infos[i] = segmentInfo
|
||||
infos[i] = proto.Clone(segmentInfo).(*datapb.SegmentInfo)
|
||||
}
|
||||
resp.Status.ErrorCode = commonpb.ErrorCode_Success
|
||||
resp.Infos = infos
|
||||
|
|
Loading…
Reference in New Issue