diff --git a/consul/client.go b/consul/client.go index 26db9fc51f..0b536a8d52 100644 --- a/consul/client.go +++ b/consul/client.go @@ -324,7 +324,6 @@ func (c *Client) localEvent(event serf.UserEvent) { func (c *Client) RPC(method string, args interface{}, reply interface{}) error { server := c.serverMgr.FindServer() if server == nil { - c.logger.Printf("[ERR] consul: No healthy servers found in the server config") return structs.ErrNoServers } diff --git a/consul/server_manager/server_manager.go b/consul/server_manager/server_manager.go index 5fec577e64..bb4d4fad1c 100644 --- a/consul/server_manager/server_manager.go +++ b/consul/server_manager/server_manager.go @@ -146,7 +146,7 @@ func (sm *ServerManager) FindServer() *server_details.ServerDetails { serverCfg := sm.getServerConfig() numServers := len(serverCfg.servers) if numServers == 0 { - sm.logger.Printf("[WARN] consul: No servers found in the server config") + sm.logger.Printf("[WARN] consul: No servers available") return nil } else { // Return whatever is at the front of the list because it is