permit encoding of GossipData into multiple messages
This commit is contained in:
1 parent
94220f22b2
commit
0b3584a355
5 files changed
+20
-13
No files matched your search
+2
-2
@@ -435,8 +435,8 @@ func (d *ipamGossipData) Merge(other router.GossipData) {
|
||||
// no-op
|
||||
}
|
||||
|
||||
func (d *ipamGossipData) Encode() []byte {
|
||||
return d.alloc.Encode()
|
||||
func (d *ipamGossipData) Encode() [][]byte {
|
||||
return [][]byte{d.alloc.Encode()}
|
||||
}
|
||||
|
||||
// Gossip returns a GossipData implementation, which in this case always
|
||||
|
||||
Reference in new issue
Block a user