MCPcopy
hub / github.com/grafana/dskit / setRegisteredAt

Method setRegisteredAt

ring/lifecycler.go:408–412  ·  view source on GitHub ↗
(registeredAt time.Time)

Source from the content-addressed store, hash-verified

406}
407
408func (i *Lifecycler) setRegisteredAt(registeredAt time.Time) {
409 i.stateMtx.Lock()
410 defer i.stateMtx.Unlock()
411 i.registeredAt = registeredAt
412}
413
414// GetReadOnlyState returns the read-only state of this instance -- whether instance is read-only, and when what the last
415// update of read-only state (possibly zero).

Callers 2

initRingMethod · 0.95
updateConsulMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected