Skip to content

Commit

Permalink
fix: remove unused var
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <[email protected]>
  • Loading branch information
vsukhin committed Jul 10, 2024
1 parent e751657 commit e6f9a62
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions cmd/kubectl-testkube/commands/testworkflows/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down Expand Up @@ -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
}
Expand Down

0 comments on commit e6f9a62

Please sign in to comment.