Clone returns a deep copy of the ring state.
()
| 471 | |
| 472 | // Clone returns a deep copy of the ring state. |
| 473 | func (d *Desc) Clone() memberlist.Mergeable { |
| 474 | return proto.Clone(d).(*Desc) |
| 475 | } |
| 476 | |
| 477 | func (d *Desc) getTokensInfo() map[uint32]instanceInfo { |
| 478 | out := map[uint32]instanceInfo{} |