Skip to content

Commit 3697403

Browse files
authored
Minor resource_elasticsearch_index error message fix
1 parent 1cc0cfa commit 3697403

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)