Stop will stop announcement, delete IPs from interfaces
()
| 138 | return |
| 139 | case <-time.After(announceInterval): |
| 140 | if !s.refreshAnnounce() { |
| 141 | return |
| 142 | } |
| 143 | } |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | // refreshAnnounce re-advertises the VIPs and publishes the outcome as the |
| 148 | // announce gauge. It returns false once Stop has begun: re-advertising would |
no test coverage detected