Skip to content

Commit

Permalink
fixing the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tombuildsstuff committed Jul 11, 2019
1 parent 0e075e7 commit 1be2ffa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion azurerm/resource_arm_storage_queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func resourceArmStorageQueueUpdate(d *schema.ResourceData, meta interface{}) err
return fmt.Errorf("Error setting MetaData for Queue %q (Storage Account %q): %s", id.QueueName, id.AccountName, err)
}

return resourceArmStorageQueueRead(d, metaDataRaw)
return resourceArmStorageQueueRead(d, meta)
}

func resourceArmStorageQueueRead(d *schema.ResourceData, meta interface{}) error {
Expand Down
4 changes: 2 additions & 2 deletions azurerm/resource_arm_storage_queue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ resource "azurerm_storage_queue" "test" {
name = "mysamplequeue-%d"
storage_account_name = "${azurerm_storage_account.test.name}"
metadata {
metadata = {
hello = "world"
}
}
Expand All @@ -275,7 +275,7 @@ resource "azurerm_storage_queue" "test" {
name = "mysamplequeue-%d"
storage_account_name = "${azurerm_storage_account.test.name}"
metadata {
metadata = {
hello = "world"
rick = "morty"
}
Expand Down

0 comments on commit 1be2ffa

Please sign in to comment.