github / glb-director

GitHub Load Balancer Director and supporting tooling.
Other
2.37k stars 227 forks source link

glb-healthcheck: Add missing sync call on reload. #104

Closed theojulienne closed 4 years ago

theojulienne commented 4 years ago

This PR fixes a regression introduced in https://github.com/github/glb-director/commit/43a9a238f0ed88980e949e4e53905fea46b82e26 which separated SyncBackendsToCheckManager out of the load function so that at initialisation time some additional work could be done, but missed the other call site during reloads. This adds back the sync in that location.