diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-09-08 15:54:55 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-09-08 15:54:55 -0700 |
| commit | 0207f5fe9b9339575a266d1db566ad8589f86318 (patch) | |
| tree | a4c085f788e73bea334b682323b414fc512a748d /weed/operation/assign_file_id.go | |
| parent | 00edcf71fcaae223eacf5677b768422b7a4dda11 (diff) | |
| download | seaweedfs-0207f5fe9b9339575a266d1db566ad8589f86318.tar.xz seaweedfs-0207f5fe9b9339575a266d1db566ad8589f86318.zip | |
replicated remote.cache
Diffstat (limited to 'weed/operation/assign_file_id.go')
| -rw-r--r-- | weed/operation/assign_file_id.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/operation/assign_file_id.go b/weed/operation/assign_file_id.go index e4b30f040..8dbdbbe57 100644 --- a/weed/operation/assign_file_id.go +++ b/weed/operation/assign_file_id.go @@ -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, |
