Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
smiller171 committed Jun 25, 2019
1 parent 73f6625 commit 6e114cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resource_isValid.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func resourceIsValid() *schema.Resource {

func resourceIsValidCreate(d *schema.ResourceData, m interface{}) error {
name := d.Get("name").(string)
test := d.Get("test").(string)
test := d.Get("test").(bool)
d.SetId(name)
d.Set("name", name)
d.Set("test", test)
Expand Down

0 comments on commit 6e114cd

Please sign in to comment.