Skip to content

Commit

Permalink
Merge pull request #2596 from terraform-providers/schema_panic/snapshot
Browse files Browse the repository at this point in the history
fix schema panic: azurerm_snapshot
  • Loading branch information
tombuildsstuff authored Jan 4, 2019
2 parents ed68cdd + 1e03d90 commit 3e26e9b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion azurerm/data_source_snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func dataSourceArmSnapshot() *schema.Resource {
Computed: true,
},
"disk_size_gb": {
Type: schema.TypeString,
Type: schema.TypeInt,
Computed: true,
},
"time_created": {
Expand Down
4 changes: 2 additions & 2 deletions azurerm/data_source_snapshot_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/hashicorp/terraform/helper/resource"
)

func TestAccDataSourceAzureRMSnapshot_importBasic(t *testing.T) {
func TestAccDataSourceAzureRMSnapshot_basic(t *testing.T) {
dataSourceName := "data.azurerm_snapshot.snapshot"
ri := acctest.RandInt()

Expand All @@ -27,7 +27,7 @@ func TestAccDataSourceAzureRMSnapshot_importBasic(t *testing.T) {
})
}

func TestAccDataSourceAzureRMSnapshot_importEncryption(t *testing.T) {
func TestAccDataSourceAzureRMSnapshot_encryption(t *testing.T) {
dataSourceName := "data.azurerm_snapshot.snapshot"
ri := acctest.RandInt()
rs := acctest.RandString(4)
Expand Down

0 comments on commit 3e26e9b

Please sign in to comment.