fix: update ip address in cache
Some checks failed
Build and Push Docker Image / Build And Push Docker Image (push) Failing after 22s
Some checks failed
Build and Push Docker Image / Build And Push Docker Image (push) Failing after 22s
This commit is contained in:
@@ -58,6 +58,7 @@ fn update_and_get_cache(
|
|||||||
info!("Not updating IP Address");
|
info!("Not updating IP Address");
|
||||||
} else {
|
} else {
|
||||||
update_ip_address(token, zone_id, ¤t_ip_address, domain, &result.id)?;
|
update_ip_address(token, zone_id, ¤t_ip_address, domain, &result.id)?;
|
||||||
|
result.ip_address = current_ip_address;
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(result)
|
Ok(result)
|
||||||
|
|||||||
Reference in New Issue
Block a user