Skip to content

Commit

Permalink
Fixed dns records update when public ip changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Yzen90 committed Nov 20, 2024
1 parent 38117c6 commit 114b1ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dynaflare"
version = "1.0.0"
version = "1.0.1"
edition = "2021"
license = "GPL-3.0-only"
authors = ["Edgar Montiel Cruz <[email protected]>"]
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fn main() -> Result<()> {
Batch {
patches: records_ids
.iter()
.map(|id| RecordUpdate { id: id.clone(), content: last_ip.clone() })
.map(|id| RecordUpdate { id: id.clone(), content: current_ip.clone() })
.collect(),
},
)
Expand Down

0 comments on commit 114b1ac

Please sign in to comment.