mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
add missing error check
This commit is contained in:
parent
302830ed60
commit
fc5fc4151b
1 changed files with 4 additions and 1 deletions
|
|
@ -360,7 +360,10 @@ func (b bcast) SendTo(to *Node, m Message) error {
|
|||
// Apply the send message to the node.
|
||||
for _, c := range b.t.Clusters {
|
||||
if c.Node.ID == to.ID {
|
||||
c.mergeClusterStatus(obj)
|
||||
err := c.mergeClusterStatus(obj)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
}
|
||||
b.t.mu.RLock()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue