1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

(#491) convert the OVH provider to models.ToNameservers (#679)

As requested in #491, as OVH doesn't return dot-suffixed NS, we can
use `models.ToNameservers` in this provider.
This commit is contained in:
Brice Figureau
2020-03-03 22:42:47 +01:00
committed by GitHub
parent 884118f6dd
commit 947cc043df

View File

@ -69,7 +69,7 @@ func (c *ovhProvider) GetNameservers(domain string) ([]*models.Nameserver, error
return nil, err
}
return models.StringsToNameservers(ns), nil
return models.ToNameservers(ns)
}
type errNoExist struct {