Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove use of lego logger to remove circular dependency #2

Merged
merged 1 commit into from
Sep 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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