We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54b5e78 commit de436d2Copy full SHA for de436d2
CHANGELOG.md
@@ -100,6 +100,8 @@ Main (unreleased)
100
101
### Bugfixes
102
103
+- Set exit code 1 on grafana-agentctl non-runnable command. (@fgouteroux)
104
+
105
- Fixed an issue where `loki.process` validation for stage `metric.counter` was
106
allowing invalid combination of configuration options. (@thampiotr)
107
cmd/grafana-agentctl/main.go
@@ -64,7 +64,9 @@ func main() {
64
testLogs(),
65
)
66
67
- _ = cmd.Execute()
+ if err := cmd.Execute(); err != nil {
68
+ os.Exit(1)
69
+ }
70
}
71
72
func configSyncCmd() *cobra.Command {
0 commit comments