handleOverride handles an override notification.
(sn *SyncNote)
| 515 | |
| 516 | // handleOverride handles an override notification. |
| 517 | func (sc *syncClient) handleOverride(sn *SyncNote) { |
| 518 | log.V(1).Infoln("Sync client received override notification") |
| 519 | |
| 520 | if o := sn.VserverOverride; o != nil { |
| 521 | sc.engine.queueOverride(o) |
| 522 | } |
| 523 | if o := sn.DestinationOverride; o != nil { |
| 524 | sc.engine.queueOverride(o) |
| 525 | } |
| 526 | if o := sn.BackendOverride; o != nil { |
| 527 | sc.engine.queueOverride(o) |
| 528 | } |
| 529 | } |
| 530 | |
| 531 | // run runs the synchronisation client. |
| 532 | func (sc *syncClient) run() { |
no test coverage detected