Skip to content

Commit

Permalink
Merge pull request #2 from chickenandpork/20200929-remove-lego-depend…
Browse files Browse the repository at this point in the history
…ency

Remove use of lego logger to remove circular dependency
  • Loading branch information
chickenandpork committed Sep 30, 2020
2 parents 2d32baa + cc2683e commit 1f71307
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions cmd/hoverdns/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ package main

import (
"fmt"
"log"
"os"
"runtime"
"sync"
"time"

hover "github.com/chickenandpork/hoverdnsapi"
"github.com/go-acme/lego/v3/log"
"github.com/urfave/cli/v2"
)

Expand All @@ -48,7 +48,6 @@ func getClient(username, password, passfile string) *hover.Client {
return client
}


func main() {
var (
passfile string
Expand Down Expand Up @@ -107,7 +106,7 @@ func main() {
},

// "update" adds an Update action to the Actions stack for each domain, then
// executes, so any dependencies such as expanding records don't need to
// executes, so any dependencies such as expanding records don't need to
// leak out here: just stack up the actions, let the subsys figure it out.
{Name: "update",
Usage: "update a record in each domain (extra parms for hostname and value)",
Expand Down
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ require (
github.com/fogleman/gg v1.3.0 // indirect
github.com/gibson042/canonicaljson-go v1.0.3
github.com/githubnemo/CompileDaemon v1.2.1 // indirect
github.com/go-acme/lego/v3 v3.6.0
github.com/go-test/deep v1.0.6
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
github.com/jpoles1/gopherbadger v2.4.0+incompatible // indirect
Expand Down

0 comments on commit 1f71307

Please sign in to comment.