diff --git a/internal/config/config.go b/internal/config/config.go index 11549b8..b7a70f4 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -367,7 +367,7 @@ func NewConfig(attrs *Attributes) (*Config, error) { func getFlagNameFromProfile(awsProfile string, flag string) string { profileKey := fmt.Sprintf("%s.%s", awsProfile, flag) - if awsProfile != "" && viper.IsSet(profileKey) == true { + if awsProfile != "" && viper.IsSet(profileKey) { // NOTE: If the flag was from a multiple profiles keyed by aws profile // name i.e. `staging.oidc-client-id`, set the base value to that as // well, `oidc-client-id`, such that input validation is satisfied.