NewDesc returns an empty ring.Desc
()
| 42 | |
| 43 | // NewDesc returns an empty ring.Desc |
| 44 | func NewDesc() *Desc { |
| 45 | return &Desc{ |
| 46 | Ingesters: map[string]InstanceDesc{}, |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | func timeToUnixSecons(t time.Time) int64 { |
| 51 | if t.IsZero() { |
no outgoing calls