Skip to content

Commit 155fde4

Browse files
committed
chore: fix build failure due to sdk upgrade
1 parent ceecc17 commit 155fde4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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
@@ -68,7 +68,7 @@ func (c *Client) DeleteFileShare(resourceGroupName, accountName, name string) er
6868
func (c *Client) ResizeFileShare(resourceGroupName, accountName, name string, sizeGiB int) error {
6969
quota := int32(sizeGiB)
7070

71-
share, err := c.fileSharesClient.Get(context.Background(), resourceGroupName, accountName, name)
71+
share, err := c.fileSharesClient.Get(context.Background(), resourceGroupName, accountName, name, storage.Stats)
7272
if err != nil {
7373
return fmt.Errorf("failed to get file share(%s), : %v", name, err)
7474
}
@@ -92,5 +92,5 @@ func (c *Client) ResizeFileShare(resourceGroupName, accountName, name string, si
9292

9393
// GetFileShare gets a file share
9494
func (c *Client) GetFileShare(resourceGroupName, accountName, name string) (storage.FileShare, error) {
95-
return c.fileSharesClient.Get(context.Background(), resourceGroupName, accountName, name)
95+
return c.fileSharesClient.Get(context.Background(), resourceGroupName, accountName, name, storage.Stats)
9696
}

0 commit comments

Comments
 (0)