mirror of
https://github.com/vxcontrol/external-dns.git
synced 2026-07-19 18:23:33 -04:00
should fix the issue with the only 5 versions kept
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user