Skip to content

Commit

Permalink
Use provided ZoneName instead of domain (#839)
Browse files Browse the repository at this point in the history
  • Loading branch information
evs-ch authored and ldez committed Mar 25, 2019
1 parent b668bde commit 51447bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions providers/dns/hostingde/hostingde.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 51447bb

Please sign in to comment.