Skip to content

Commit

Permalink
fix: Fix create index error msg (#824)
Browse files Browse the repository at this point in the history
  • Loading branch information
ebouther authored Sep 14, 2022
1 parent a879962 commit 6a282ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mongodbatlas/resource_mongodbatlas_search_index.go
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ func resourceMongoDBAtlasSearchIndexCreate(ctx context.Context, d *schema.Resour

dbSearchIndexRes, _, err := conn.Search.CreateIndex(ctx, projectID, clusterName, searchIndexRequest)
if err != nil {
return diag.Errorf("error creating database user: %s", err)
return diag.Errorf("error creating index: %s", err)
}

d.SetId(encodeStateID(map[string]string{
Expand Down

0 comments on commit 6a282ba

Please sign in to comment.