From fdef3d6f8a85539546ffe9b77e0c88aa4f3d098a Mon Sep 17 00:00:00 2001 From: Frederic Leger Date: Wed, 21 Jun 2017 00:20:23 +0200 Subject: [PATCH] should fix the issue with the only 5 versions kept --- providers/gandi/gandi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/gandi/gandi.go b/providers/gandi/gandi.go index f3989db..1a7dac4 100644 --- a/providers/gandi/gandi.go +++ b/providers/gandi/gandi.go @@ -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) }