From e6f9a623fcdfbffe46aa7c6de6bf32f59ddba5df Mon Sep 17 00:00:00 2001 From: Vladislav Sukhin Date: Wed, 10 Jul 2024 20:54:50 +0300 Subject: [PATCH] fix: remove unused var Signed-off-by: Vladislav Sukhin --- cmd/kubectl-testkube/commands/testworkflows/run.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/cmd/kubectl-testkube/commands/testworkflows/run.go b/cmd/kubectl-testkube/commands/testworkflows/run.go index a60e4bfb768..958dd795a99 100644 --- a/cmd/kubectl-testkube/commands/testworkflows/run.go +++ b/cmd/kubectl-testkube/commands/testworkflows/run.go @@ -32,10 +32,9 @@ var ( func NewRunTestWorkflowCmd() *cobra.Command { var ( - executionName string - config map[string]string - watchEnabled bool - runningContext string + executionName string + config map[string]string + watchEnabled bool ) cmd := &cobra.Command{ @@ -124,7 +123,6 @@ func NewRunTestWorkflowCmd() *cobra.Command { cmd.Flags().BoolVarP(&watchEnabled, "watch", "f", false, "watch for changes after start") cmd.Flags().Bool("disable-webhooks", false, "disable webhooks for this execution") cmd.Flags().Bool("enable-webhooks", false, "enable webhooks for this execution") - cmd.Flags().StringVar(&runningContext, "context", "", "running context description for test execution") return cmd }