Removed unnecessary logging
This commit is contained in:
@ -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)}
|
||||
}
|
||||
|
Reference in New Issue
Block a user