mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
chore: fix build failure due to sdk upgrade
This commit is contained in:
parent
ceecc17001
commit
155fde4931
@ -68,7 +68,7 @@ func (c *Client) DeleteFileShare(resourceGroupName, accountName, name string) er
|
||||
func (c *Client) ResizeFileShare(resourceGroupName, accountName, name string, sizeGiB int) error {
|
||||
quota := int32(sizeGiB)
|
||||
|
||||
share, err := c.fileSharesClient.Get(context.Background(), resourceGroupName, accountName, name)
|
||||
share, err := c.fileSharesClient.Get(context.Background(), resourceGroupName, accountName, name, storage.Stats)
|
||||
if err != nil {
|
||||
return fmt.Errorf("failed to get file share(%s), : %v", name, err)
|
||||
}
|
||||
@ -92,5 +92,5 @@ func (c *Client) ResizeFileShare(resourceGroupName, accountName, name string, si
|
||||
|
||||
// GetFileShare gets a file share
|
||||
func (c *Client) GetFileShare(resourceGroupName, accountName, name string) (storage.FileShare, error) {
|
||||
return c.fileSharesClient.Get(context.Background(), resourceGroupName, accountName, name)
|
||||
return c.fileSharesClient.Get(context.Background(), resourceGroupName, accountName, name, storage.Stats)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user