From e25892ee525e9070ddf109a960880f1d5104dc95 Mon Sep 17 00:00:00 2001 From: Volodymyr Stoiko Date: Tue, 16 Jun 2026 20:11:32 +0000 Subject: [PATCH] cli: silence unused linter on retained console helpers --- cmd/console.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/console.go b/cmd/console.go index ee88c0121..2d30f9248 100644 --- a/cmd/console.go +++ b/cmd/console.go @@ -47,6 +47,7 @@ func init() { consoleCmd.Flags().StringP(configStructs.ReleaseNamespaceLabel, "s", defaultTapConfig.Release.Namespace, "Release namespace of Kubeshark") } +//nolint:unused // retained for the in-progress console refactoring; re-wired once the Connect-RPC client lands func runConsoleWithoutProxy() { log.Info().Msg("Starting scripting console ...") time.Sleep(5 * time.Second) @@ -127,6 +128,7 @@ func runConsoleWithoutProxy() { } } +//nolint:unused // retained for the in-progress console refactoring; re-wired once the Connect-RPC client lands func runConsole() { log.Warn().Msg(fmt.Sprintf(utils.Yellow, "The 'console' command is temporarily non-functional and under refactoring: the hub moved scripting-console log streaming off the /scripts/logs WebSocket onto a Connect-RPC service, and this client has not yet been updated. No logs will stream."))