Browse Source

minor

pull/2128/head
Chris Lu 4 years ago
parent
commit
ee6c67682c
  1. 4
      weed/server/master_grpc_server.go

4
weed/server/master_grpc_server.go

@ -205,8 +205,8 @@ func (ms *MasterServer) KeepConnected(stream master_pb.Seaweed_KeepConnectedServ
_, err := stream.Recv() _, err := stream.Recv()
if err != nil { if err != nil {
glog.V(2).Infof("- client %v: %v", clientName, err) glog.V(2).Infof("- client %v: %v", clientName, err)
stopChan <- true
break
close(stopChan)
return
} }
} }
}() }()

Loading…
Cancel
Save