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
1 changed files with 2 additions and 1 deletions

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(),