treat no records not as error when cleanup
This commit is contained in:
parent
b2bf4f4cb2
commit
4d57e3f3ae
2
main.go
2
main.go
@ -132,7 +132,7 @@ func (c *customDNSProviderSolver) CleanUp(ch *v1alpha1.ChallengeRequest) error {
|
||||
}
|
||||
|
||||
records, err := findTxtRecords(dnspodClient, domainID, ch.ResolvedZone, ch.ResolvedFQDN)
|
||||
if err != nil {
|
||||
if err != nil && !strings.Contains(err.Error(), "No records") {
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user