Report record types

closes #2
This commit is contained in:
Kaan Barmore-Genç 2022-07-20 23:18:37 -04:00
parent e556c00901
commit 21dcd000a7
Signed by: kaan
GPG key ID: B2E280771CD62FCF

View file

@ -96,9 +96,10 @@ async fn main() -> anyhow::Result<()> {
};
let req = client.put(url).json(&payload);
let task_governor = governor.clone();
let entry_type = entry_type.to_string();
let task = tokio::task::spawn(async move {
task_governor.until_ready_with_jitter(retry_jitter).await;
println!("Updating {}", &fqdn);
println!("Updating {} record for {}", entry_type, &fqdn);
match req.send().await {
Ok(response) => (
response.status(),