Skip to content

Commit

Permalink
fixup storage client casing
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartleeks committed Sep 16, 2019
1 parent 97efa86 commit 63d7099
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion azurerm/data_source_storage_management_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ func dataSourceArmStorageManagementPolicy() *schema.Resource {
}

func dataSourceArmStorageManagementPolicyRead(d *schema.ResourceData, meta interface{}) error {
client := meta.(*ArmClient).storage.ManagementPoliciesClient
client := meta.(*ArmClient).Storage.ManagementPoliciesClient
ctx := meta.(*ArmClient).StopContext

storageAccountId := d.Get("storage_account_id").(string)
Expand Down
6 changes: 3 additions & 3 deletions azurerm/resource_arm_storage_management_policy.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func resourceArmStorageManagementPolicy() *schema.Resource {
}

func resourceArmStorageManagementPolicyCreateOrUpdate(d *schema.ResourceData, meta interface{}) error {
client := meta.(*ArmClient).storage.ManagementPoliciesClient
client := meta.(*ArmClient).Storage.ManagementPoliciesClient
ctx := meta.(*ArmClient).StopContext

storageAccountId := d.Get("storage_account_id").(string)
Expand Down Expand Up @@ -166,7 +166,7 @@ func resourceArmStorageManagementPolicyCreateOrUpdate(d *schema.ResourceData, me
}

func resourceArmStorageManagementPolicyRead(d *schema.ResourceData, meta interface{}) error {
client := meta.(*ArmClient).storage.ManagementPoliciesClient
client := meta.(*ArmClient).Storage.ManagementPoliciesClient
ctx := meta.(*ArmClient).StopContext

storageAccountId := d.Get("storage_account_id").(string)
Expand Down Expand Up @@ -197,7 +197,7 @@ func resourceArmStorageManagementPolicyRead(d *schema.ResourceData, meta interfa
}

func resourceArmStorageManagementPolicyDelete(d *schema.ResourceData, meta interface{}) error {
client := meta.(*ArmClient).storage.ManagementPoliciesClient
client := meta.(*ArmClient).Storage.ManagementPoliciesClient
ctx := meta.(*ArmClient).StopContext

storageAccountId := d.Get("storage_account_id").(string)
Expand Down

0 comments on commit 63d7099

Please sign in to comment.