Remove spaces from commented config lines in elasticsearch.yml and logging.yml #5842
Labels
:Delivery/Packaging
RPM and deb packaging, tar and zip archives, shell and batch scripts
>enhancement
Team:Delivery
Meta label for Delivery team
v1.2.0
v2.0.0-beta1
If a user has a mix of indented and unindented lines in elasticsearch.yml or logging.yml, elasticsearch will not parse the YML file correctly on startup. Any indented lines after an unindented line will be treated as children of the unindented line, and all of those lines will not parse correctly.
The sample config comments in elasticsearch.yml and logging.yml include space characters after the '#' character at the beginning of the lines. This encourages users to uncomment them by removing the '#' character without touching the space. This can lead to trouble if users later add other config keys without including the space. It would be better if the space characters were removed.
The text was updated successfully, but these errors were encountered: