Removed unnecessary logging

This commit is contained in:
2025-01-15 00:05:57 +03:00
parent 3d0ca816ff
commit f31165f6f5

View File

@ -5,7 +5,6 @@ import (
"encoding/json"
"fmt"
"io"
"log"
"net/http"
"sync"
@ -46,7 +45,6 @@ func (c *client) AddRecord(rec *dns.Record) (error, *dns.Response) {
})
if err != nil {
log.Println("Smth going wrong marshalling data for adding record")
return err, nil
}
@ -68,7 +66,6 @@ func (c *client) AddRecord(rec *dns.Record) (error, *dns.Response) {
return err, nil
}
log.Println(string(body))
return nil, &dns.Response{Message: string(body)}
}
@ -99,7 +96,6 @@ func (c *client) DeleteRecord(rec *dns.Record) (error, *dns.Response) {
if err != nil {
return err, nil
}
log.Println(string(body))
return nil, &dns.Response{Message: string(body)}
}
@ -131,7 +127,6 @@ func (c *client) UpdateRecord(rec *dns.Record) (error, *dns.Response) {
if err != nil {
return err, nil
}
log.Println(string(body))
return nil, &dns.Response{Message: string(body)}
}