This repository has been archived by the owner on Aug 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make sync-catalog work with clients disabled (#570)
* make sync-catalog work with clients disable Currently the sync-catalog won't work when the clients are disable because of the use of `HOST_IP` to connect to the service. I propose that when clients are disable, the synccatalog falls back to the consul server service. When `client.enabled=true` the syncCatalog should make use of the HOST_IP to connect with consul. When `client.enabled=false` the syncCatalog should fall back to the consul server service.
- Loading branch information
Showing
2 changed files
with
79 additions
and
0 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