From 85a50dbf9183e0eb2668cd10257e874bf4cfd6b9 Mon Sep 17 00:00:00 2001 From: Shireesh Anjal <355479+anjalshireesh@users.noreply.github.com> Date: Thu, 25 Aug 2022 20:33:03 +0530 Subject: [PATCH] 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. --- cmd/support-logs-status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/support-logs-status.go b/cmd/support-logs-status.go index 790b5ca3..5a485151 100644 --- a/cmd/support-logs-status.go +++ b/cmd/support-logs-status.go @@ -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 {