Skip to content

Commit 72f1fef

Browse files
authored
Merge branch 'master' into chore/report-status
2 parents e833613 + 7102c75 commit 72f1fef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/install/command.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package install
33
import (
44
"errors"
55
"fmt"
6+
"strings"
67

78
log "github.com/sirupsen/logrus"
89
"github.com/spf13/cobra"
@@ -68,7 +69,7 @@ func assertProfileIsValid(profile *credentials.Profile) error {
6869
if profile == nil {
6970
return errors.New("default profile has not been set")
7071
}
71-
if profile.Region != "US" {
72+
if !strings.EqualFold(profile.Region, "US") {
7273
return fmt.Errorf("only the US region is supported at this time. region %s is not supported", profile.Region)
7374
}
7475
return nil

0 commit comments

Comments
 (0)