MCPcopy Create free account
hub / github.com/eth-easl/dirigent / ReviseRegistrationServers

Method ReviseRegistrationServers

internal/data_plane/haproxy/manager.go:341–350  ·  view source on GitHub ↗

ReviseRegistrationServers Need to call restart after this call

(addressesToKeep []string)

Source from the content-addressed store, hash-verified

339
340// ReviseRegistrationServers Need to call restart after this call
341func (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
353func (api *API) ReviseDataplanes(addressesToKeep []string) bool {

Calls 2

genericReviseMethod · 0.95
getHAProxyClientFunction · 0.85

Tested by 1