Skip to content

Commit

Permalink
fix: double warning
Browse files Browse the repository at this point in the history
Signed-off-by: Javier Lopez <javier@okteto.com>
  • Loading branch information
jLopezbarb committed Feb 6, 2024
1 parent c6b78f4 commit 82aa836
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cmd/context/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@ To set your default context, run the ` + "`okteto context`" + ` command:
This will prompt you to select one of your existing contexts or to create a new one.
`,
PersistentPreRun: func(cmd *cobra.Command, args []string) {
// read parent PersistentPreRun if any and run them before current PersistentPreRun
if parent := cmd.Parent(); parent != nil {
if parent.PersistentPreRun != nil {
parent.PersistentPreRun(parent, args)
}
}
okteto.SetInsecureSkipTLSVerifyPolicy(ctxOptions.InsecureSkipTlsVerify)
},
RunE: Use().RunE,
Expand Down

0 comments on commit 82aa836

Please sign in to comment.