From 179df11b003eb54cf6be49189d02a9d46d0b99a3 Mon Sep 17 00:00:00 2001 From: Joe Searcy Date: Mon, 8 Apr 2019 02:28:51 -0400 Subject: [PATCH] Bumped version and fixed formatting on root command --- cmd/root.go | 3 +-- main.go | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index dd142e1..b03c540 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -58,7 +58,7 @@ environment variable needs to be set to a valid kubeconfig file.`, if string(node) != "" { - kv := strings.Split(string(node), " ") + kv := strings.Fields(string(node)) v := kv[1] @@ -78,7 +78,6 @@ environment variable needs to be set to a valid kubeconfig file.`, w := printers.GetNewTabWriter(os.Stdout) defer w.Flush() - fmt.Fprintln(w, "AZ") for _, az := range azsSort { diff --git a/main.go b/main.go index 0bfb739..f6e4d4f 100644 --- a/main.go +++ b/main.go @@ -19,7 +19,7 @@ import "github.com/phenixblue/kubectl-azs/cmd" var ( // VERSION defines the version of the utility. - VERSION = "v0.0.4" + VERSION = "v0.0.5" ) func main() {