Remove duplicate log for geoip
The log statement is a funny way to avoid the 'value is never used'
warning
@@ -162,12 +162,6 @@ pub fn get_country(ip: IpAddr) -> Result<String, Error> {
match cache_result {
Some(code) => Ok(code),
None => {
- let geo_ip_url = format!("https://geoip.maxmind.com/geoip/v2.1/country/{}", ip);
- info!(
- "making GeoIP request to {} for {}",
- geo_ip_url,
- ip.to_string()
- );
let geo_ip_url = format!("https://geoip.maxmind.com/geoip/v2.1/country/{}", ip);
info!(
"making GeoIP request to {} for {}",
