(t time.Time)
| 48 | } |
| 49 | |
| 50 | func timeToUnixSecons(t time.Time) int64 { |
| 51 | if t.IsZero() { |
| 52 | return 0 |
| 53 | } |
| 54 | return t.Unix() |
| 55 | } |
| 56 | |
| 57 | // AddIngester adds the given ingester to the ring. Ingester will only use supplied tokens, |
| 58 | // any other tokens are removed. |
no outgoing calls