Skip to content

Commit

Permalink
Fix a typo in roles.yml of the kbn-es package. (elastic#165299)
Browse files Browse the repository at this point in the history
## Summary

Luckily ES ignores invalid role definitions in `roles.yml`, but it still
logs the following error:
```
node scripts/functional_tests_server.js --config x-pack/test_serverless/api_integration/test_suites/search/config.ts
----
docker logs -f es01
....
[2023-08-31T09:36:55,775][ERROR][o.e.x.s.a.s.FileRolesStore] [es01] invalid role definition [null] in roles file [/usr/share/elasticsearch/config/roles.yml]. skipping role..
```
  • Loading branch information
azasypkin authored Aug 31, 2023
1 parent 6e367d9 commit 210e75c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/kbn-es/src/ess_resources/roles.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
system_indices_superuser:
cluster: ['all']
indices:
Expand Down

0 comments on commit 210e75c

Please sign in to comment.