Skip to content

Commit

Permalink
Fix bug where all flags were not being set on the config object.
Browse files Browse the repository at this point in the history
Closes #114
  • Loading branch information
monde committed Feb 14, 2024
1 parent 3c5a1d4 commit 21e4467
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -325,18 +325,23 @@ func NewConfig(attrs *Attributes) (*Config, error) {
awsIAMIdP: attrs.AWSIAMIdP,
awsIAMRole: attrs.AWSIAMRole,
awsRegion: attrs.AWSRegion,
awsSessionDuration: attrs.AWSSessionDuration,
cacheAccessToken: attrs.CacheAccessToken,
customScope: attrs.CustomScope,
debug: attrs.Debug,
debugAPICalls: attrs.DebugAPICalls,
expiryAWSVariables: attrs.ExpiryAWSVariables,
exec: attrs.Exec,
expiryAWSVariables: attrs.ExpiryAWSVariables,
fedAppID: attrs.FedAppID,
format: attrs.Format,
keyID: attrs.KeyID,
legacyAWSVariables: attrs.LegacyAWSVariables,
oidcAppID: attrs.OIDCAppID,
openBrowser: attrs.OpenBrowser,
openBrowserCommand: attrs.OpenBrowserCommand,
orgDomain: attrs.OrgDomain,
privateKey: attrs.PrivateKey,
privateKeyFile: attrs.PrivateKeyFile,
keyID: attrs.KeyID,
profile: attrs.Profile,
qrCode: attrs.QRCode,
writeAWSCredentials: attrs.WriteAWSCredentials,
Expand Down

0 comments on commit 21e4467

Please sign in to comment.