From 4aa197b5e130db302994f8e67ee44705884aa4c2 Mon Sep 17 00:00:00 2001 From: Marc Wickenden Date: Mon, 8 Aug 2022 11:45:30 +0100 Subject: [PATCH] Fix error in region logic --- pkg/eks/eks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/eks/eks.go b/pkg/eks/eks.go index 518337b..cdc89ca 100644 --- a/pkg/eks/eks.go +++ b/pkg/eks/eks.go @@ -47,7 +47,7 @@ func Generate(c *config.Config) error { } } - if c.Region != "" { + if c.Region == "" { region, err = getRegion() if err != nil { return err