mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-16 02:58:35 +02:00
refactoring
This commit is contained in:
1 parent
8e23dc078b
commit
7764e0465c
16 files changed
+186
-187
No files matched your search
@@ -34,7 +34,7 @@ func runWatch(cmd *Command, args []string) bool {
|
||||
|
||||
watchErr := pb.WithFilerClient(*watchFiler, grpcDialOption, func(client filer_pb.SeaweedFilerClient) error {
|
||||
|
||||
stream, err := client.ListenForEvents(context.Background(), &filer_pb.ListenForEventsRequest{
|
||||
stream, err := client.SubscribeMetadata(context.Background(), &filer_pb.SubscribeMetadataRequest{
|
||||
ClientName: "watch",
|
||||
PathPrefix: *watchTarget,
|
||||
SinceNs: 0,
|
||||
|
||||
Reference in new issue
Block a user