Skip to content

Commit

Permalink
fix: immediately ping Healthchecks.io even if UPDATE_ON_START is false
Browse files Browse the repository at this point in the history
  • Loading branch information
favonia committed May 9, 2022
1 parent d8fc23e commit a881721
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/ddns.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ mainLoop:
} else {
monitor.FailureAll(ctx, ppfmt, c.Monitors)
}
} else if first {
monitor.SuccessAll(ctx, ppfmt, c.Monitors)
}
first = false

Expand Down

0 comments on commit a881721

Please sign in to comment.