Update Lego
This commit is contained in:
parent
fc8c24e987
commit
9b2423aaba
192 changed files with 11105 additions and 8535 deletions
4
vendor/github.com/xenolf/lego/providers/dns/stackpath/client.go
generated
vendored
4
vendor/github.com/xenolf/lego/providers/dns/stackpath/client.go
generated
vendored
|
@ -8,7 +8,7 @@ import (
|
|||
"net/http"
|
||||
"path"
|
||||
|
||||
"github.com/xenolf/lego/acme"
|
||||
"github.com/xenolf/lego/challenge/dns01"
|
||||
"golang.org/x/net/publicsuffix"
|
||||
)
|
||||
|
||||
|
@ -49,7 +49,7 @@ func (e *ErrorResponse) Error() string {
|
|||
|
||||
// https://developer.stackpath.com/en/api/dns/#operation/GetZones
|
||||
func (d *DNSProvider) getZones(domain string) (*Zone, error) {
|
||||
domain = acme.UnFqdn(domain)
|
||||
domain = dns01.UnFqdn(domain)
|
||||
tld, err := publicsuffix.EffectiveTLDPlusOne(domain)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue