Skip to content

Commit

Permalink
Fix error in region logic
Browse files Browse the repository at this point in the history
  • Loading branch information
marcwickenden committed Aug 8, 2022
1 parent c026c5f commit 4aa197b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/eks/eks.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func Generate(c *config.Config) error {
}
}

if c.Region != "" {
if c.Region == "" {
region, err = getRegion()
if err != nil {
return err
Expand Down

0 comments on commit 4aa197b

Please sign in to comment.