-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update to use Consul's new StatusHandler, et. al.
StatusHandler is an internal public struct used to track service status. This replaces the older Notify interface, subsuming it as a field. The Notify interface itself (used on a field of the StatusHandler) also has added a new method, ServiceExists, which was added as part of the Consul's Alias feature and which we don't support so use add a stubbed out method. The IDs used to track the checks have also changed from a string to a struct. The struct contains the string and some enterprise meta data. For now we just ignore the enterprise portion internally.
- Loading branch information
Showing
2 changed files
with
33 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters