ReviseRegistrationServers Need to call restart after this call
(addressesToKeep []string)
| 339 | |
| 340 | // ReviseRegistrationServers Need to call restart after this call |
| 341 | func (api *API) ReviseRegistrationServers(addressesToKeep []string) bool { |
| 342 | success, changes := false, false |
| 343 | |
| 344 | for !success { |
| 345 | api.client = getHAProxyClient() |
| 346 | success, changes = api.genericRevise(RegistrationServerBackend, addressesToKeep) |
| 347 | } |
| 348 | |
| 349 | return changes |
| 350 | } |
| 351 | |
| 352 | // ReviseDataplanes Need to call restart after this call |
| 353 | func (api *API) ReviseDataplanes(addressesToKeep []string) bool { |