Skip to content

Commit c4ba861

Browse files
authored
Merge pull request #349 from NathanBaulch/patch-1
Minor resource_elasticsearch_index error message fix
2 parents 8318c70 + 3697403 commit c4ba861

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

es/resource_elasticsearch_index.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,7 @@ func resourceElasticsearchIndexDelete(d *schema.ResourceData, meta interface{})
614614
// check to see if there are documents in the index
615615
allowed := allowIndexDestroy(name, d, meta)
616616
if !allowed {
617-
return fmt.Errorf("There are documents in the index (or the index could not be , set force_destroy to true to allow destroying.")
617+
return fmt.Errorf("There are documents in the index (or the index could not be found), set force_destroy to true to allow destroying.")
618618
}
619619

620620
esClient, err := getClient(meta.(*ProviderConf))

0 commit comments

Comments
 (0)