mirror of
https://github.com/go-acme/lego.git
synced 2025-02-01 13:27:55 +02:00
Use provided ZoneName instead of domain (#839)
This commit is contained in:
parent
b668bde5e4
commit
51447bb2e7
@ -91,7 +91,7 @@ func (d *DNSProvider) Present(domain, token, keyAuth string) error {
|
||||
zonesFind := ZoneConfigsFindRequest{
|
||||
Filter: Filter{
|
||||
Field: "zoneName",
|
||||
Value: domain,
|
||||
Value: d.config.ZoneName,
|
||||
},
|
||||
Limit: 1,
|
||||
Page: 1,
|
||||
@ -151,7 +151,7 @@ func (d *DNSProvider) CleanUp(domain, token, keyAuth string) error {
|
||||
zonesFind := ZoneConfigsFindRequest{
|
||||
Filter: Filter{
|
||||
Field: "zoneName",
|
||||
Value: domain,
|
||||
Value: d.config.ZoneName,
|
||||
},
|
||||
Limit: 1,
|
||||
Page: 1,
|
||||
|
Loading…
x
Reference in New Issue
Block a user