From e58a901d5cda8aa8959eea4666c00a369840a046 Mon Sep 17 00:00:00 2001 From: Rick Henry Date: Thu, 23 Jun 2022 16:21:45 +0100 Subject: [PATCH] Update URL path for ANS-Group Go SDK UKFast have recently merged with ANS group [1] and have started to rename GitHub repositories. While GitHub will redirect repository accesses, it makes more sense to use the canonical URL going forward. As part of this, the versions have been updated to reflect their new module names [2] [3]. 1: https://www.ans.co.uk/campaigns/ukfast-is-now-ans/ 2: https://github.com/ans-group/go-durationstring/releases/tag/v1.2.0 3: https://github.com/ans-group/sdk-go/releases/tag/v1.7.0 Signed-off-by: Rick Henry --- go.mod | 4 ++-- go.sum | 4 ++++ provider/safedns/safedns.go | 6 +++--- provider/safedns/safedns_test.go | 4 ++-- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index 8a28f0de2..30f2c4b03 100644 --- a/go.mod +++ b/go.mod @@ -17,6 +17,7 @@ require ( github.com/alecthomas/colour v0.1.0 // indirect github.com/alecthomas/kingpin v2.2.5+incompatible github.com/aliyun/alibaba-cloud-sdk-go v1.61.1483 + github.com/ans-group/sdk-go v1.7.0 github.com/aws/aws-sdk-go v1.42.52 github.com/bodgit/tsig v1.2.0 github.com/cloudflare/cloudflare-go v0.25.0 @@ -51,7 +52,6 @@ require ( github.com/sirupsen/logrus v1.8.1 github.com/stretchr/testify v1.7.0 github.com/transip/gotransip/v6 v6.14.0 - github.com/ukfast/sdk-go v1.4.34 github.com/ultradns/ultradns-sdk-go v0.0.0-20200616202852-e62052662f60 github.com/vinyldns/go-vinyldns v0.0.0-20200211145900-fe8a3d82e556 github.com/vultr/govultr/v2 v2.14.1 @@ -144,7 +144,7 @@ require ( github.com/spf13/pflag v1.0.5 // indirect github.com/stretchr/objx v0.3.0 // indirect github.com/terra-farm/udnssdk v1.3.5 // indirect - github.com/ukfast/go-durationstring v1.1.0 // indirect + github.com/ans-group/go-durationstring v1.2.0 // indirect go.etcd.io/etcd/client/pkg/v3 v3.5.2 // indirect go.mongodb.org/mongo-driver v1.5.1 // indirect go.opencensus.io v0.23.0 // indirect diff --git a/go.sum b/go.sum index 31b857533..d63e619ee 100644 --- a/go.sum +++ b/go.sum @@ -187,6 +187,10 @@ github.com/andres-erbsen/clock v0.0.0-20160526145045-9e14626cd129 h1:MzBOUgng9or github.com/andres-erbsen/clock v0.0.0-20160526145045-9e14626cd129/go.mod h1:rFgpPQZYZ8vdbc+48xibu8ALc3yeyd64IhHS+PU6Yyg= github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod h1:rCTlJbsFo29Kk6CurOXKm700vrz8f0KW0JNfpkRJY/8= github.com/andybalholm/brotli v0.0.0-20190621154722-5f990b63d2d6/go.mod h1:+lx6/Aqd1kLJ1GQfkvOnaZ1WGmLpMpbprPuIOOZX30U= +github.com/ans-group/go-durationstring v1.2.0 h1:UJIuQATkp0t1rBvZsHRwki33YHV9E+Ulro+3NbMB7MM= +github.com/ans-group/go-durationstring v1.2.0/go.mod h1:QGF9Mdpq9058QXaut8r55QWu6lcHX6i/GvF1PZVkV6o= +github.com/ans-group/sdk-go v1.7.0 h1:Riy6MwVf6fkmQvxPPA1UfrBoqo3GYghXV9MhCzlCPg8= +github.com/ans-group/sdk-go v1.7.0/go.mod h1:XSKXEDfKobnDtZoyia5DhJxxaDMcCjr76e1KJ9dU/xc= github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY= github.com/antlr/antlr4/runtime/Go/antlr v0.0.0-20210826220005-b48c857c3a0e/go.mod h1:F7bn7fEU90QkQ3tnmaTx3LTKLEDqnwWODIYppRQ5hnY= github.com/aokoli/goutils v1.1.0/go.mod h1:SijmP0QR8LtwsmDs8Yii5Z/S4trXFGFC2oO5g9DP+DQ= diff --git a/provider/safedns/safedns.go b/provider/safedns/safedns.go index 64173a078..39e9a62c4 100644 --- a/provider/safedns/safedns.go +++ b/provider/safedns/safedns.go @@ -22,9 +22,9 @@ import ( "os" log "github.com/sirupsen/logrus" - ukfClient "github.com/ukfast/sdk-go/pkg/client" - ukfConnection "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/service/safedns" + ukfClient "github.com/ans-group/sdk-go/pkg/client" + ukfConnection "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/service/safedns" "sigs.k8s.io/external-dns/endpoint" "sigs.k8s.io/external-dns/plan" diff --git a/provider/safedns/safedns_test.go b/provider/safedns/safedns_test.go index 3c6da6109..21e74d185 100644 --- a/provider/safedns/safedns_test.go +++ b/provider/safedns/safedns_test.go @@ -24,8 +24,8 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" "github.com/stretchr/testify/require" - ukfConnection "github.com/ukfast/sdk-go/pkg/connection" - "github.com/ukfast/sdk-go/pkg/service/safedns" + ukfConnection "github.com/ans-group/sdk-go/pkg/connection" + "github.com/ans-group/sdk-go/pkg/service/safedns" "sigs.k8s.io/external-dns/endpoint" "sigs.k8s.io/external-dns/plan"