diff --git a/src/cloud_provider/aws/router.rs b/src/cloud_provider/aws/router.rs index 168f1cd7..a57894e0 100644 --- a/src/cloud_provider/aws/router.rs +++ b/src/cloud_provider/aws/router.rs @@ -313,7 +313,7 @@ impl crate::cloud_provider::service::Router for Router { "domain {} is still not ready after several retries", self.default_domain.as_str() ), - )) + )); } } @@ -494,12 +494,13 @@ impl Create for Router { info!("Records from DNS are successfully retrieved."); OperationResult::Ok(ips) } - Err(e) => { + Err(err) => { warn!( "Failed to retrieve record from DNS '{}', retrying...", self.default_domain.as_str() ); - OperationResult::Retry(e) + warn!("DNS lookup error: {:?}", err); + OperationResult::Retry(err) } } });