Skip to content

Commit 3d702fe

Browse files
committed
Fix a bug caused by the breaking change mitigation
1 parent d491a53 commit 3d702fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/services/storage/storage_containers_data_source.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ func (r storageContainersDataSource) Read() sdk.ResourceFunc {
120120
return fmt.Errorf("parsing Account ID: %v", err)
121121
}
122122

123-
resp, err := blobServicesClient.ListCompleteMatchingPredicate(ctx, *id, blobservices.BlobServicePropertiesOperationPredicate{})
123+
resp, err := blobServicesClient.BlobContainersListCompleteMatchingPredicate(ctx, *id, blobservices.BlobContainersListOperationOptions{}, blobservices.ListContainerItemOperationPredicate{})
124124
if err != nil {
125125
return fmt.Errorf("retrieving %s: %+v", id, err)
126126
}
@@ -138,7 +138,7 @@ func (r storageContainersDataSource) Read() sdk.ResourceFunc {
138138
}
139139
}
140140

141-
func flattenStorageContainersContainers(l []blobservices.BlobServiceProperties, accountId accounts.AccountId, prefix string) []containerModel {
141+
func flattenStorageContainersContainers(l []blobservices.ListContainerItem, accountId accounts.AccountId, prefix string) []containerModel {
142142
output := make([]containerModel, 0, len(l))
143143
for _, item := range l {
144144
var name string

0 commit comments

Comments
 (0)