From 5bdd7f2568e20216387616a722ced3cb0cebb6a9 Mon Sep 17 00:00:00 2001 From: Lars Lehtonen Date: Wed, 9 Aug 2017 16:29:18 -0700 Subject: [PATCH] Fix dropped error in kops cmd package --- cmd/kops/get.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/kops/get.go b/cmd/kops/get.go index 51d2edf1385f3..c9682ec4d6c61 100644 --- a/cmd/kops/get.go +++ b/cmd/kops/get.go @@ -138,6 +138,9 @@ func RunGet(context Factory, out io.Writer, options *GetOptions) error { args := make([]string, 0) clusters, err := buildClusters(args, clusterList) + if err != nil { + return fmt.Errorf("error on buildClusters(): %v", err) + } ig, err := client.InstanceGroupsFor(cluster).List(metav1.ListOptions{}) if err != nil {