Skip to content

Commit b8eb8d1

Browse files
committed
chore: remove debug logs
1 parent 3a0c6a4 commit b8eb8d1

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

providers/dns/nicru/internal/client.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,6 @@ func (c *Client) do(req *http.Request) (*Response, error) {
205205
return nil, errutils.NewReadResponseError(req, resp.StatusCode, err)
206206
}
207207

208-
fmt.Println(string(raw)) // TODO(ldez) only for debug
209-
210208
decoder := xml.NewTokenDecoder(Trimmer{decoder: xml.NewDecoder(bytes.NewReader(raw))})
211209

212210
err = decoder.Decode(apiResponse)

providers/dns/nicru/nicru.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010

1111
"github.com/go-acme/lego/v4/challenge"
1212
"github.com/go-acme/lego/v4/challenge/dns01"
13-
"github.com/go-acme/lego/v4/log"
1413
"github.com/go-acme/lego/v4/platform/config/env"
1514
"github.com/go-acme/lego/v4/providers/dns/nicru/internal"
1615
)
@@ -225,15 +224,11 @@ func (d *DNSProvider) findZone(ctx context.Context, authZone string) (*internal.
225224
return nil, fmt.Errorf("unable to fetch dns zones: %w", err)
226225
}
227226

228-
log.Infof("zones count: %d", len(zones)) // TODO(ldez) only for debug
229-
230227
if len(zones) == 0 {
231228
return nil, errors.New("no zones found")
232229
}
233230

234231
for _, zone := range zones {
235-
log.Infof("zone.Name=%s, authZone=%s", zone.Name, authZone) // TODO(ldez) only for debug
236-
237232
if zone.Name == authZone {
238233
return &zone, nil
239234
}

0 commit comments

Comments
 (0)