Skip to content

Commit

Permalink
Fixed linter error
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Kosiewski <[email protected]>
  • Loading branch information
Thomas Kosiewski committed Oct 5, 2023
1 parent 589cce5 commit a4aaf0d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/e2e_cli/connect/connect.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ var _ = ginkgo.Describe("Connect to vCluster", func() {
framework.ExpectNoError(err)

connectCmd := cmd.NewConnectCmd(&flags.GlobalFlags{})
connectCmd.Flags().Set("kube-config", kcfgFile.Name())

err = connectCmd.Flags().Set("kube-config", kcfgFile.Name())
framework.ExpectNoError(err)

connectCmd.SetArgs([]string{f.VclusterName})

err = connectCmd.Execute()
Expand Down

0 comments on commit a4aaf0d

Please sign in to comment.