(ctx context.Context, state InstanceState)
| 204 | } |
| 205 | |
| 206 | func (l *BasicLifecycler) ChangeState(ctx context.Context, state InstanceState) error { |
| 207 | return l.run(func() error { |
| 208 | return l.changeState(ctx, state) |
| 209 | }) |
| 210 | } |
| 211 | |
| 212 | func (l *BasicLifecycler) ChangeReadOnlyState(ctx context.Context, readOnly bool) error { |
| 213 | return l.run(func() error { |
nothing calls this directly
no test coverage detected