diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-05-27 22:54:58 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-05-27 22:54:58 -0700 |
| commit | 713596e781233047dc24b754794c9d7ae5e9685b (patch) | |
| tree | 8bb5a383de003a633b12f28dc89a8eb25210965e /weed/operation/grpc_client.go | |
| parent | 3a8c1055a24094d22bdc33bdd01435097a6268a9 (diff) | |
| download | seaweedfs-713596e781233047dc24b754794c9d7ae5e9685b.tar.xz seaweedfs-713596e781233047dc24b754794c9d7ae5e9685b.zip | |
caching ec shard locations
Diffstat (limited to 'weed/operation/grpc_client.go')
| -rw-r--r-- | weed/operation/grpc_client.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/operation/grpc_client.go b/weed/operation/grpc_client.go index bf4d4bec3..f6b2b69e9 100644 --- a/weed/operation/grpc_client.go +++ b/weed/operation/grpc_client.go @@ -38,7 +38,7 @@ func toVolumeServerGrpcAddress(volumeServer string) (grpcAddress string, err err return fmt.Sprintf("%s:%d", volumeServer[0:sepIndex], port+10000), nil } -func withMasterServerClient(masterServer string, grpcDialOption grpc.DialOption, fn func(masterClient master_pb.SeaweedClient) error) error { +func WithMasterServerClient(masterServer string, grpcDialOption grpc.DialOption, fn func(masterClient master_pb.SeaweedClient) error) error { ctx := context.Background() |
