Skip to content

Commit

Permalink
QC
Browse files Browse the repository at this point in the history
  • Loading branch information
monde committed Feb 13, 2024
1 parent b06a59f commit 022d17c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 022d17c

Please sign in to comment.