We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09adf93 commit 7a8c11dCopy full SHA for 7a8c11d
main.go
@@ -82,11 +82,11 @@ func main() {
82
fmt.Println("Error: command to execute is required")
83
os.Exit(1)
84
}
85
- fmt.Printf("before kubeconfig: %v", *kubeconfig)
+
86
if kubeconfig == nil || len(*kubeconfig) == 0 && len(kubeconfigEnv) > 0 {
87
kubeconfig = &kubeconfigEnv
88
89
- fmt.Printf("after kubeconfig: %v", *kubeconfig)
+ fmt.Printf("kubeconfig: %v", *kubeconfig)
90
91
config, err := clientcmd.BuildConfigFromFlags("", *kubeconfig)
92
if err != nil {
0 commit comments