Skip to content

Commit 72d8837

Browse files
Update module gopkg.in/yaml.v2 to v3
1 parent ba5803d commit 72d8837

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

cmd/sync/aws.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"github.com/aws/aws-sdk-go-v2/service/autoscaling"
1515
"github.com/aws/aws-sdk-go-v2/service/ec2"
1616
"github.com/aws/aws-sdk-go-v2/service/ec2/types"
17-
yaml "gopkg.in/yaml.v2"
17+
yaml "gopkg.in/yaml.v3"
1818
)
1919

2020
// AWSClient allows you to get the list of IP addresses of instances of an Auto Scaling group. It implements the CloudProvider interface.

cmd/sync/azure.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"github.com/Azure/azure-sdk-for-go/profiles/latest/compute/mgmt/compute"
99
"github.com/Azure/azure-sdk-for-go/profiles/latest/network/mgmt/network"
1010
"github.com/Azure/go-autorest/autorest/azure/auth"
11-
yaml "gopkg.in/yaml.v2"
11+
yaml "gopkg.in/yaml.v3"
1212
)
1313

1414
// AzureClient allows you to get the list of IP addresses of VirtualMachines of a VirtualMachine Scale Set. It implements the CloudProvider interface.

cmd/sync/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"fmt"
66
"time"
77

8-
yaml "gopkg.in/yaml.v2"
8+
yaml "gopkg.in/yaml.v3"
99
)
1010

1111
// commonConfig stores the configuration parameters common to all providers.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111
github.com/aws/aws-sdk-go-v2/service/autoscaling v1.43.4
1212
github.com/aws/aws-sdk-go-v2/service/ec2 v1.175.1
1313
github.com/nginxinc/nginx-plus-go-client v1.3.0
14-
gopkg.in/yaml.v2 v2.4.0
14+
gopkg.in/yaml.v3 v3.0.1
1515
)
1616

1717
require (

go.sum

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
120120
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
121121
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
122122
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
123+
gopkg.in/yaml.v2 v2.2.8 h1:obN1ZagJSUGI0Ek/LBmuj4SNLPfIny3KsKFopxRdj10=
123124
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
124-
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
125-
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
125+
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
126+
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=

0 commit comments

Comments
 (0)