This commit is contained in:
Mitchell Hashimoto 2014-10-21 11:00:12 -07:00
parent 81913c58fb
commit 1792334ec4
2 changed files with 3 additions and 3 deletions

View File

@ -125,7 +125,7 @@ func resourceHerokuApp() *schema.Resource {
func switchHerokuAppCreate(d *schema.ResourceData, meta interface{}) error {
orgCount := d.Get("organization.#").(int)
if orgCount > 1 {
return fmt.Errorf("Error Creating Heroku App: Only 1 Heroku Organization is permitted")
return fmt.Errorf("Error Creating Heroku App: Only 1 Heroku Organization is permitted")
}
if _, ok := d.GetOk("organization.0.name"); ok {

View File

@ -927,8 +927,8 @@ func TestResourceDataHasChange(t *testing.T) {
Diff: &terraform.InstanceDiff{
Attributes: map[string]*terraform.ResourceAttrDiff{
"tags.Name": &terraform.ResourceAttrDiff{
Old: "foo",
New: "foo",
Old: "foo",
New: "foo",
},
},
},