Browse Source

fix error

pull/1213/head
Chris Lu 5 years ago
parent
commit
dc40413847
  1. 2
      weed/server/master_grpc_server.go

2
weed/server/master_grpc_server.go

@ -283,7 +283,7 @@ func findClientAddress(ctx context.Context, grpcPort uint32) string {
} }
func (ms *MasterServer ListMasterClients(ctx context.Context, req *master_pb.ListMasterClientsRequest) (*master_pb.ListMasterClientsResponse, error) {
func (ms *MasterServer) ListMasterClients(ctx context.Context, req *master_pb.ListMasterClientsRequest) (*master_pb.ListMasterClientsResponse, error) {
resp := &master_pb.ListMasterClientsResponse{} resp := &master_pb.ListMasterClientsResponse{}
ms.clientChansLock.RLock() ms.clientChansLock.RLock()
defer ms.clientChansLock.RUnlock() defer ms.clientChansLock.RUnlock()

Loading…
Cancel
Save