-
Notifications
You must be signed in to change notification settings - Fork 619
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
manager: Allow API listeners to be bound after starting the manager
This adds BindRemote and BindControl methods to Manager, which can be used to specify the remote API and control API addresses after creating or starting the manager. Raft has been updated to accept a new remote address after being started. If The RemoteAPI and ControlAPI fields are passed to manager.New, it is not necessary to call BindRemote or BindControl explicitly. Signed-off-by: Aaron Lehmann <[email protected]>
- Loading branch information
1 parent
d6766b0
commit 490ea4f
Showing
5 changed files
with
260 additions
and
99 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
Oops, something went wrong.