(ctx context.Context, readOnly bool)
| 210 | } |
| 211 | |
| 212 | func (l *BasicLifecycler) ChangeReadOnlyState(ctx context.Context, readOnly bool) error { |
| 213 | return l.run(func() error { |
| 214 | return l.changeReadOnlyState(ctx, readOnly) |
| 215 | }) |
| 216 | } |
| 217 | |
| 218 | // ShouldKeepInstanceInTheRingOnShutdown returns if the instance should be kept in the ring or unregistered on shutdown. |
| 219 | func (l *BasicLifecycler) ShouldKeepInstanceInTheRingOnShutdown() bool { |
nothing calls this directly
no test coverage detected