wealdtech / coredns-ens

Apache License 2.0
57 stars 15 forks source link

Error while building from source with CoreDNS-1.8.3 #7

Closed zhoreeq closed 3 years ago

zhoreeq commented 3 years ago
# github.com/wealdtech/coredns-ens
../../../../pkg/mod/github.com/wealdtech/coredns-ens@v1.3.0/setup.go:38:21: cannot use c (type *"github.com/caddyserver/caddy".Controller) as type *"github.com/coredns/caddy".Controller in argument to dnsserver.GetConfig

Might be related to https://github.com/coredns/coredns/issues/4173

zhoreeq commented 3 years ago

When I'm running go get github.com/wealdtech/coredns-ens@v1.3.1 in the coredns repository it throws an error

go: github.com/wealdtech/coredns-ens@v1.3.1: reading github.com/wealdtech/coredns-ens/go.mod at revision v1.3.1: unknown revision v1.3.1

Is it happening because the tag was not pushed to github? The build-standalone.sh script works.

mcdee commented 3 years ago

go get will most likely not produce anything useful, but yes the tag should be added to the repo. I'll do this now.

zhoreeq commented 3 years ago

@mcdee Thanks! It builds fine now.