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:
Sean Chittenden 2016-03-26 22:29:00 -07:00
parent e327630523
commit 35ff2eb71a
1 changed files with 1 additions and 1 deletions

View File

@ -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