mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix error
This commit is contained in:
parent
6a8484b4ae
commit
dc40413847
|
@ -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…
Reference in a new issue