Skip to content

Commit

Permalink
Add properties to error message (hashicorp#23271)
Browse files Browse the repository at this point in the history
  • Loading branch information
nerddtvg authored Sep 18, 2023
1 parent 15c6d29 commit 46e3766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/services/storage/storage_account_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -2198,7 +2198,7 @@ func resourceStorageAccountRead(d *pluginsdk.ResourceData, meta interface{}) err

staticWebsiteProps, err := accountsClient.GetServiceProperties(ctx, id.StorageAccountName)
if err != nil {
return fmt.Errorf("retrieving static website for %s: %+v", *id, err)
return fmt.Errorf("retrieving static website properties for %s: %+v", *id, err)
}
staticWebsite := flattenStaticWebsiteProperties(staticWebsiteProps)
if err := d.Set("static_website", staticWebsite); err != nil {
Expand Down

0 comments on commit 46e3766

Please sign in to comment.