Skip to content
This repository was archived by the owner on Feb 21, 2024. It is now read-only.

Commit fc5fc41

Browse files
committed
add missing error check
1 parent 302830e commit fc5fc41

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

utils_internal_test.go

+4-1
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,10 @@ func (b bcast) SendTo(to *Node, m Message) error {
360360
// Apply the send message to the node.
361361
for _, c := range b.t.Clusters {
362362
if c.Node.ID == to.ID {
363-
c.mergeClusterStatus(obj)
363+
err := c.mergeClusterStatus(obj)
364+
if err != nil {
365+
return err
366+
}
364367
}
365368
}
366369
b.t.mu.RLock()

0 commit comments

Comments
 (0)