This commit is contained in:
Chris Lu 2021-06-12 02:52:41 -07:00
parent 9357911a95
commit ee6c67682c

View file

@ -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 close(stopChan)
break return
} }
} }
}() }()