use grpc and jwt

This commit is contained in:
Chris Lu
2021-08-12 21:40:33 -07:00
parent 6238644c35
commit 5a0f92423e
15 changed files with 453 additions and 453 deletions

View File

@@ -86,8 +86,8 @@ func (ms *MasterServer) findVolumeLocation(collection, vid string) operation.Loo
err = fmt.Errorf("volume id %s not found", vid)
}
ret := operation.LookupResult{
VolumeId: vid,
Locations: locations,
VolumeOrFileId: vid,
Locations: locations,
}
if err != nil {
ret.Error = err.Error()