Skip to content

Commit

Permalink
better log level
Browse files Browse the repository at this point in the history
  • Loading branch information
henrod committed Sep 20, 2018
1 parent 9bede6d commit 6b9925a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cluster/grpc_rpc_client.go
Expand Up @@ -272,10 +272,10 @@ func (gs *GRPCClient) getServerHost(sv *Server) (host, portKey string) {
}

if gs.infoRetriever.Region() == serverRegion {
logger.Log.Warnf("server %s is in same region, using internal host", sv.ID)
logger.Log.Infof("server %s is in same region, using internal host", sv.ID)
return internalHost, constants.GRPCPortKey
}

logger.Log.Warnf("server %s is in other region, using external host", sv.ID)
logger.Log.Infof("server %s is in other region, using external host", sv.ID)
return externalHost, constants.GRPCExternalPortKey
}

0 comments on commit 6b9925a

Please sign in to comment.