forked from TrueCloudLab/lego
Use provided ZoneName instead of domain (#839)
This commit is contained in:
parent
b668bde5e4
commit
51447bb2e7
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue