Skip to content

Commit 5d7cac8

Browse files
authored
Merge pull request kubernetes#91861 from andyzhangx/upgrade-43.0
upgrade azure-sdk-for-go to v43.0.0
2 parents fc30f88 + 155fde4 commit 5d7cac8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+5125
-360
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ go 1.13
1010

1111
require (
1212
bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690
13-
github.com/Azure/azure-sdk-for-go v40.2.0+incompatible
13+
github.com/Azure/azure-sdk-for-go v43.0.0+incompatible
1414
github.com/Azure/go-autorest/autorest v0.9.6
1515
github.com/Azure/go-autorest/autorest/adal v0.8.2
1616
github.com/Azure/go-autorest/autorest/to v0.2.0
@@ -152,7 +152,7 @@ replace (
152152
cloud.google.com/go/pubsub => cloud.google.com/go/pubsub v1.0.1
153153
cloud.google.com/go/storage => cloud.google.com/go/storage v1.0.0
154154
dmitri.shuralyov.com/gpu/mtl => dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9
155-
github.com/Azure/azure-sdk-for-go => github.com/Azure/azure-sdk-for-go v40.2.0+incompatible
155+
github.com/Azure/azure-sdk-for-go => github.com/Azure/azure-sdk-for-go v43.0.0+incompatible
156156
github.com/Azure/go-ansiterm => github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78
157157
github.com/Azure/go-autorest/autorest => github.com/Azure/go-autorest/autorest v0.9.6
158158
github.com/Azure/go-autorest/autorest/adal => github.com/Azure/go-autorest/autorest/adal v0.8.2

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7
77
cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I=
88
cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw=
99
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
10-
github.com/Azure/azure-sdk-for-go v40.2.0+incompatible h1:JVGI3ws5ouCNwtQtwProxSff9uf2XiH/K8ydhuNhL1I=
11-
github.com/Azure/azure-sdk-for-go v40.2.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
10+
github.com/Azure/azure-sdk-for-go v43.0.0+incompatible h1:/wSNCu0e6EsHFR4Qa3vBEBbicaprEHMyyga9g8RTULI=
11+
github.com/Azure/azure-sdk-for-go v43.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
1212
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78 h1:w+iIsaOQNcT7OZ575w+acHgRric5iCyQh+xv+KJ4HB8=
1313
github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8=
1414
github.com/Azure/go-autorest/autorest v0.9.6 h1:5YWtOnckcudzIw8lPPBcWOnmIFWMtHci1ZWAZulMSx0=

staging/src/k8s.io/legacy-cloud-providers/azure/clients/fileclient/azure_fileclient.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func (c *Client) DeleteFileShare(resourceGroupName, accountName, name string) er
7878
func (c *Client) ResizeFileShare(resourceGroupName, accountName, name string, sizeGiB int) error {
7979
quota := int32(sizeGiB)
8080

81-
share, err := c.fileSharesClient.Get(context.Background(), resourceGroupName, accountName, name)
81+
share, err := c.fileSharesClient.Get(context.Background(), resourceGroupName, accountName, name, storage.Stats)
8282
if err != nil {
8383
return fmt.Errorf("failed to get file share(%s), : %v", name, err)
8484
}
@@ -102,5 +102,5 @@ func (c *Client) ResizeFileShare(resourceGroupName, accountName, name string, si
102102

103103
// GetFileShare gets a file share
104104
func (c *Client) GetFileShare(resourceGroupName, accountName, name string) (storage.FileShare, error) {
105-
return c.fileSharesClient.Get(context.Background(), resourceGroupName, accountName, name)
105+
return c.fileSharesClient.Get(context.Background(), resourceGroupName, accountName, name, storage.Stats)
106106
}

staging/src/k8s.io/legacy-cloud-providers/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ go 1.13
66

77
require (
88
cloud.google.com/go v0.51.0
9-
github.com/Azure/azure-sdk-for-go v40.2.0+incompatible
9+
github.com/Azure/azure-sdk-for-go v43.0.0+incompatible
1010
github.com/Azure/go-autorest/autorest v0.9.6
1111
github.com/Azure/go-autorest/autorest/adal v0.8.2
1212
github.com/Azure/go-autorest/autorest/mocks v0.3.0

staging/src/k8s.io/legacy-cloud-providers/go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-12-01/compute/BUILD

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-12-01/compute/availabilitysets.go

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-12-01/compute/dedicatedhostgroups.go

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-12-01/compute/dedicatedhosts.go

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2019-12-01/compute/galleryimageversions.go

Lines changed: 1 addition & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)