Fix support logs status command (#4221)

Earlier, the parsed config contained the `target` of the form
`subsystem:target` e.g. `logger_webhook:subnet`. Now it contains only
the target e.g. `subnet`.

Updating the `support logs status` command code accordingly to ensure
that it prints correct output.
This commit is contained in:
Shireesh Anjal
2022-08-25 08:03:03 -07:00
committed by GitHub
parent 9f24a19aa8
commit 85a50dbf91
+1 -1
View File
@@ -43,7 +43,7 @@ EXAMPLES:
}
func isSupportLogsEnabled(alias string) bool {
return isFeatureEnabled(alias, "logger_webhook", "logger_webhook:subnet")
return isFeatureEnabled(alias, "logger_webhook", "subnet")
}
func mainStatusLogs(ctx *cli.Context) error {