aboutsummaryrefslogtreecommitdiff
path: root/weed/operation/tail_volume.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-08-12 20:33:00 -0700
committerChris Lu <chris.lu@gmail.com>2021-08-12 20:33:00 -0700
commitd1d1fc772c884ffae466d24a82ef3d634951243a (patch)
tree2a0038155d07460f427c9622316904b1775cde15 /weed/operation/tail_volume.go
parent5571f4f70a2e304343e76638caacc3bd0338a8d1 (diff)
downloadseaweedfs-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.go2
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)
}