mirror of https://github.com/status-im/consul.git
Standardize the log message based on the package
This log statement used to belong in the consul package but has since moved to the server manager package.
This commit is contained in:
parent
e327630523
commit
35ff2eb71a
|
@ -193,7 +193,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 available")
|
||||
sm.logger.Printf("[WARN] server manager: No servers available")
|
||||
return nil
|
||||
} else {
|
||||
// Return whatever is at the front of the list because it is
|
||||
|
|
Loading…
Reference in New Issue