mirror of
https://github.com/jlengrand/engine.git
synced 2026-05-17 15:52:14 +00:00
chore: add error line to DNS lookup Router.on_create_check(..)
This commit is contained in:
committed by
Pierre Mavro
parent
0512d2e202
commit
552d1ce2f9
@@ -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)
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user