replicated remote.cache

This commit is contained in:
Chris Lu
2021-09-08 15:54:55 -07:00
parent 00edcf71fc
commit 0207f5fe9b
3 changed files with 5 additions and 3 deletions

View File

@@ -74,7 +74,7 @@ func Assign(masterFn GetMasterFn, grpcDialOption grpc.DialOption, primaryRequest
ret.PublicUrl = resp.PublicUrl
ret.Error = resp.Error
ret.Auth = security.EncodedJwt(resp.Auth)
for _, r := range ret.Replicas {
for _, r := range resp.Replicas {
ret.Replicas = append(ret.Replicas, AssignResultReplica{
Url: r.Url,
PublicUrl: r.PublicUrl,