stupid mistake
This commit is contained in:
parent
4436f3d7c0
commit
5eb483e8be
@ -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/"
|
// const URI_LOGIN string = "http://127.0.0.1:1234/"
|
||||||
|
|
||||||
func LogInfo(Mesg string) {
|
func LogInfo(Mesg string) {
|
||||||
fmt.Println(Mesg)
|
// fmt.Println(Mesg)
|
||||||
logf.V(logf.InfoLevel).Info(Mesg)
|
logf.V(logf.InfoLevel).Info(Mesg)
|
||||||
}
|
}
|
||||||
|
|
||||||
func LogDebug(Mesg string) {
|
func LogDebug(Mesg string) {
|
||||||
fmt.Println(Mesg)
|
// fmt.Println(Mesg)
|
||||||
logf.V(logf.DebugLevel).Info(Mesg)
|
logf.V(logf.DebugLevel).Info(Mesg)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
main.go
2
main.go
@ -144,8 +144,8 @@ func (c *customDNSProviderSolver) CleanUp(ch *v1alpha1.ChallengeRequest) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
c.freedns = nil
|
|
||||||
dnsObj := c.freedns
|
dnsObj := c.freedns
|
||||||
|
c.freedns = nil
|
||||||
|
|
||||||
_addr := strings.TrimRight(ch.ResolvedFQDN, ".")
|
_addr := strings.TrimRight(ch.ResolvedFQDN, ".")
|
||||||
_key := "\"" + ch.Key + "\""
|
_key := "\"" + ch.Key + "\""
|
||||||
|
Loading…
Reference in New Issue
Block a user