Use provided ZoneName instead of domain (#839)

This commit is contained in:
evs-ch 2019-03-25 12:19:13 +01:00 committed by Ludovic Fernandez
parent b668bde5e4
commit 51447bb2e7

View file

@ -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,