Skip to content

Commit

Permalink
Fix space formatting issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
Micah Huber committed Sep 7, 2018
1 parent 707aef2 commit a5fbd48
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lookup/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ func getClientSet() (*kubernetes.Clientset, error) {
flag.Parse()


if _, err := os.Stat(kubeconfig); err != nil {
// kubeconfig doesn't exist
fmt.Printf("%s does not exist - please make sure you have a kubeconfig configured.\n", kubeconfig)
os.Exit(1)
}
if _, err := os.Stat(kubeconfig); err != nil {
// kubeconfig doesn't exist
fmt.Printf("%s does not exist - please make sure you have a kubeconfig configured.\n", kubeconfig)
os.Exit(1)
}

// use the current context in kubeconfig
config, err := clientcmd.BuildConfigFromFlags("", kubeconfig)
Expand Down

0 comments on commit a5fbd48

Please sign in to comment.