Skip to content

Commit

Permalink
when printing out consul message, use stdout instead of stderr (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Nguyen authored Mar 16, 2021
1 parent dc56d3e commit 1a98e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/api/stores/consul/consul_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type Store struct {
func NewDefault(cfg *config.Config) (stores.IFace, error) {
apiConfig := api.DefaultConfig()
if cfg.Consul.Address != "" {
printer.Logf("Setting consul address to %s in config", cfg.Consul.Address)
printer.Say("Setting consul address to %s in config", cfg.Consul.Address)
apiConfig.Address = cfg.Consul.Address
}
client, err := api.NewClient(apiConfig)
Expand Down

0 comments on commit 1a98e40

Please sign in to comment.