Describe the bug
Running loki -list-targets prints and exits with exit code 1.
failed parsing config: config.yaml,config/config.yaml does not exist, set config.file for custom config path
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Run
loki -list-targets
Expected behavior
The output shows all targets as when run loki -config.file=loki.yaml -list-targets.
Describe the bug
Running
loki -list-targetsprints and exits with exit code 1.A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
loki -list-targetsExpected behavior
The output shows all targets as when run
loki -config.file=loki.yaml -list-targets.