fix(autoreload): Reload invalid yaml files

When a YAML file is invalid, trigger auto-reload anyway so that user is
aware that the configuration file is incorrect.

Failing to do so does not change the reload status in metrics and api.

Signed-off-by: Julien <roidelapluie@o11y.eu>
This commit is contained in:
Julien 2024-09-20 13:38:05 +02:00
parent 005bd33fe2
commit 146b22d196