Skip to content

Commit

Permalink
QC
Browse files Browse the repository at this point in the history
  • Loading branch information
monde committed Feb 10, 2024
1 parent 10e1554 commit 32f6a8c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const (
AWSIAMIdPFlag = "aws-iam-idp"
// AWSIAMRoleFlag cli flag const
AWSIAMRoleFlag = "aws-iam-role"
// AWSRegion cli flag const
// AWSRegionFlag cli flag const
AWSRegionFlag = "aws-region"
// CustomScopeFlag cli flag const
CustomScopeFlag = "custom-scope"
Expand Down Expand Up @@ -557,15 +557,17 @@ func (c *Config) SetAWSIAMRole(role string) error {
return nil
}

// AWSRegion --
func (c *Config) AWSRegion() string {
return c.awsRegion
}

// SetAWSRegion --
func (c *Config) SetAWSRegion(region string) error {
c.awsRegion = region
return nil
}

func (c *Config) AWSRegion() string {
return c.awsRegion
}

// AWSSessionDuration --
func (c *Config) AWSSessionDuration() int64 {
return c.awsSessionDuration
Expand Down

0 comments on commit 32f6a8c

Please sign in to comment.