@@ -648,7 +648,7 @@ func (p *CloudFlareProvider) newCloudFlareChange(action string, endpoint *endpoi
648
648
}
649
649
}
650
650
651
- func NewDNSRecordIndex (r cloudflare.DNSRecord ) DNSRecordIndex {
651
+ func newDNSRecordIndex (r cloudflare.DNSRecord ) DNSRecordIndex {
652
652
return DNSRecordIndex {Name : r .Name , Type : r .Type , Content : r .Content }
653
653
}
654
654
@@ -672,7 +672,7 @@ func (p *CloudFlareProvider) listDNSRecordsWithAutoPagination(ctx context.Contex
672
672
}
673
673
674
674
for _ , r := range pageRecords {
675
- records [NewDNSRecordIndex (r )] = r
675
+ records [newDNSRecordIndex (r )] = r
676
676
}
677
677
params .ResultInfo = resultInfo .Next ()
678
678
if params .ResultInfo .Done () {
@@ -682,7 +682,7 @@ func (p *CloudFlareProvider) listDNSRecordsWithAutoPagination(ctx context.Contex
682
682
return records , nil
683
683
}
684
684
685
- func NewCustomHostnameIndex (ch cloudflare.CustomHostname ) CustomHostnameIndex {
685
+ func newCustomHostnameIndex (ch cloudflare.CustomHostname ) CustomHostnameIndex {
686
686
return CustomHostnameIndex {Hostname : ch .Hostname }
687
687
}
688
688
@@ -707,7 +707,7 @@ func (p *CloudFlareProvider) listCustomHostnamesWithPagination(ctx context.Conte
707
707
return nil , err
708
708
}
709
709
for _ , ch := range pageCustomHostnameListResponse {
710
- chs [NewCustomHostnameIndex (ch )] = ch
710
+ chs [newCustomHostnameIndex (ch )] = ch
711
711
}
712
712
resultInfo = result .Next ()
713
713
if resultInfo .Done () {
0 commit comments