Skip to content

Commit

Permalink
spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
jameskimmel committed Aug 23, 2024
1 parent 00a6f1f commit 6d41638
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ import (
var input string
var domain string
var token string

// var ipv4 bool
// var ipv6 bool
// var hardcodedIPv4 string
// var hardcodedIPv6 string
// var minMinutesBetween float64
var LastUpdate time.Time
var LastSetIPv4 string
var LastSetIPv6 string
Expand Down
2 changes: 0 additions & 2 deletions updater/updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,10 @@ func requestUpdate() {
if resp.StatusCode != 200 {
fmt.Println("Something went wrong. DeSEC returned an error when asking for an update")
log.Fatal(resp.Status)

}

if resp.StatusCode == 200 {
fmt.Println("Successfully set the new IP(s) on DeSEC!")

}
// after a sucessful update, change LastSet IPs
config.ConfigSettings.LastSetIPv4 = newIPv4
Expand Down

0 comments on commit 6d41638

Please sign in to comment.