diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-08-12 20:33:00 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-08-12 20:33:00 -0700 |
| commit | d1d1fc772c884ffae466d24a82ef3d634951243a (patch) | |
| tree | 2a0038155d07460f427c9622316904b1775cde15 /weed/operation/tail_volume.go | |
| parent | 5571f4f70a2e304343e76638caacc3bd0338a8d1 (diff) | |
| download | seaweedfs-d1d1fc772c884ffae466d24a82ef3d634951243a.tar.xz seaweedfs-d1d1fc772c884ffae466d24a82ef3d634951243a.zip | |
move some volume lookup operations to grpc
jwt related lookup will come in next commit
Diffstat (limited to 'weed/operation/tail_volume.go')
| -rw-r--r-- | weed/operation/tail_volume.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/operation/tail_volume.go b/weed/operation/tail_volume.go index 79a5b3812..e3f2c0664 100644 --- a/weed/operation/tail_volume.go +++ b/weed/operation/tail_volume.go @@ -13,7 +13,7 @@ import ( func TailVolume(masterFn GetMasterFn, grpcDialOption grpc.DialOption, vid needle.VolumeId, sinceNs uint64, timeoutSeconds int, fn func(n *needle.Needle) error) error { // find volume location, replication, ttl info - lookup, err := Lookup(masterFn, vid.String()) + lookup, err := LookupVolumeId(masterFn, grpcDialOption, vid.String()) if err != nil { return fmt.Errorf("look up volume %d: %v", vid, err) } |
