stupid mistake

This commit is contained in:
斟酌 鵬兄 2022-03-14 11:20:04 +09:00
parent 4436f3d7c0
commit 5eb483e8be
2 changed files with 3 additions and 3 deletions

View File

@ -36,12 +36,12 @@ const URI_DELETE_RECORD = "https://freedns.afraid.org/subdomain/delete2.php?data
// const URI_LOGIN string = "http://127.0.0.1:1234/"
func LogInfo(Mesg string) {
fmt.Println(Mesg)
// fmt.Println(Mesg)
logf.V(logf.InfoLevel).Info(Mesg)
}
func LogDebug(Mesg string) {
fmt.Println(Mesg)
// fmt.Println(Mesg)
logf.V(logf.DebugLevel).Info(Mesg)
}

View File

@ -144,8 +144,8 @@ func (c *customDNSProviderSolver) CleanUp(ch *v1alpha1.ChallengeRequest) error {
return nil
}
c.freedns = nil
dnsObj := c.freedns
c.freedns = nil
_addr := strings.TrimRight(ch.ResolvedFQDN, ".")
_key := "\"" + ch.Key + "\""