diff options
Diffstat (limited to 'weed/cluster/master_client.go')
| -rw-r--r-- | weed/cluster/master_client.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/cluster/master_client.go b/weed/cluster/master_client.go index d1e769c1d..15009e132 100644 --- a/weed/cluster/master_client.go +++ b/weed/cluster/master_client.go @@ -2,6 +2,7 @@ package cluster import ( "context" + "github.com/seaweedfs/seaweedfs/weed/glog" "github.com/seaweedfs/seaweedfs/weed/pb" "github.com/seaweedfs/seaweedfs/weed/pb/master_pb" @@ -10,7 +11,7 @@ import ( func ListExistingPeerUpdates(master pb.ServerAddress, grpcDialOption grpc.DialOption, filerGroup string, clientType string) (existingNodes []*master_pb.ClusterNodeUpdate) { - if grpcErr := pb.WithMasterClient(false, master, grpcDialOption, func(client master_pb.SeaweedClient) error { + if grpcErr := pb.WithMasterClient(false, master, grpcDialOption, false, func(client master_pb.SeaweedClient) error { resp, err := client.ListClusterNodes(context.Background(), &master_pb.ListClusterNodesRequest{ ClientType: clientType, FilerGroup: filerGroup, |
