update error message
This commit is contained in:
parent
b850f8bc65
commit
98667d1b12
|
@ -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 Organization")
|
||||
return fmt.Errorf("Error Creating Heroku App: Only 1 Heroku Organization is permitted")
|
||||
}
|
||||
|
||||
if _, ok := d.GetOk("organization.0.name"); ok {
|
||||
|
|
Loading…
Reference in New Issue