should fix the issue with the only 5 versions kept

This commit is contained in:
Frederic Leger
2017-06-21 00:20:23 +02:00
parent a61b3fad24
commit fdef3d6f8a
+1 -1
View File
@@ -176,7 +176,7 @@ func (g *GandiProvider) findRecords(record utils.DnsRecord, version int64) ([]ga
func (g *GandiProvider) GetRecords() ([]utils.DnsRecord, error) {
var records []utils.DnsRecord
recordResp, err := g.record.List(g.zone.Id, g.zone.Version)
recordResp, err := g.record.List(g.zone.Id, 0)
if err != nil {
return records, fmt.Errorf("Failed to get records in zone: %v", err)
}