(disableExtension bool)
| 58 | } |
| 59 | |
| 60 | func getSyncRingOp(disableExtension bool) ring.Operation { |
| 61 | if disableExtension { |
| 62 | return SyncRingOpNoExtension |
| 63 | } |
| 64 | return SyncRingOp |
| 65 | } |
| 66 | |
| 67 | // RingConfig masks the ring lifecycler config which contains |
| 68 | // many options not really required by the alertmanager ring. This config |