Skip to content

Commit

Permalink
fix go lint errs
Browse files Browse the repository at this point in the history
  • Loading branch information
sheurich committed Mar 9, 2024
1 parent 7d4bed3 commit 97ea757
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions va/va.go
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ func (va VAImpl) validateDNSAccount01(task *vaTask) *core.ValidationRecord {
}

if len(txts) == 0 {
msg := fmt.Sprintf("No TXT records found for DNS challenge")
msg := "No TXT records found for DNS challenge"
result.Error = acme.UnauthorizedProblem(msg)
return result
}
Expand All @@ -388,7 +388,7 @@ func (va VAImpl) validateDNSAccount01(task *vaTask) *core.ValidationRecord {
}
}

msg := fmt.Sprintf("Correct value not found for DNS challenge")
msg := "Correct value not found for DNS challenge"
result.Error = acme.UnauthorizedProblem(msg)
return result
}
Expand Down

0 comments on commit 97ea757

Please sign in to comment.