NewDesc returns an empty ring.Desc
()
| 33 | |
| 34 | // NewDesc returns an empty ring.Desc |
| 35 | func NewDesc() *Desc { |
| 36 | return &Desc{ |
| 37 | Ingesters: map[string]InstanceDesc{}, |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | // AddIngester adds the given ingester to the ring. Ingester will only use supplied tokens, |
| 42 | // any other tokens are removed. |
no outgoing calls