Skip to content

Commit b36f6af

Browse files
committed
fix: correct retry attempt counter in DNS verification logging
1 parent bf1c847 commit b36f6af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/verification/dns.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ func performDNSVerificationWithRetries(
176176
for attempt := 0; attempt <= config.MaxRetries; attempt++ {
177177
if attempt > 0 {
178178
log.Printf("DNS verification retry %d/%d for domain %s after %v delay",
179-
attempt, config.MaxRetries, domain, retryDelay)
179+
attempt+1, config.MaxRetries, domain, retryDelay)
180180

181181
// Wait before retry with context cancellation support
182182
timer := time.NewTimer(retryDelay)

0 commit comments

Comments
 (0)