Skip to content

Commit

Permalink
[kbn-data-forge] fix mongodb duplicate component name (#190660)
Browse files Browse the repository at this point in the history
Noticed this error during data forge resources cleanup caused by
duplicated name

```
info Deleteing components for logs-mongodb@template (mongodb_8.0.0_base,mongodb_8.0.0_log,mongodb_8.0.0_host,mongodb_8.0.0_host)
ERROR Failed to delete {"options":{"redaction":{"type":"replace","additionalKeys":[]}},"name":"ResponseError","meta":{"body":{"error":{"root_cause":[{"type":"resource_not_found_exception","reason":"mongodb_8.0.0_host"}],"type":"resource_not_found_exception","reason":"mongodb_8.0.0_host"},
```
  • Loading branch information
klacabane authored Aug 19, 2024
1 parent 6d1426a commit b82c49f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const components = [
{ name: `${MONGODB}_${ECS_VERSION}_base`, template: base },
{ name: `${MONGODB}_${ECS_VERSION}_log`, template: log },
{ name: `${MONGODB}_${ECS_VERSION}_host`, template: host },
{ name: `${MONGODB}_${ECS_VERSION}_host`, template: mongodb },
{ name: `${MONGODB}_${ECS_VERSION}_mongodb`, template: mongodb },
];

export const indexTemplate: IndexTemplateDef = {
Expand Down

0 comments on commit b82c49f

Please sign in to comment.