Browse Source

return if error

pull/2348/head
Chris Lu 3 years ago
parent
commit
f7f01ac209
  1. 1
      weed/server/volume_grpc_client_to_master.go

1
weed/server/volume_grpc_client_to_master.go

@ -126,6 +126,7 @@ func (vs *VolumeServer) doHeartbeat(masterNode, masterGrpcAddress string, grpcDi
if vs.store.MaybeAdjustVolumeMax() {
if err = stream.Send(vs.store.CollectHeartbeat()); err != nil {
glog.V(0).Infof("Volume Server Failed to talk with master %s: %v", vs.currentMaster, err)
return
}
}
}

Loading…
Cancel
Save