We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1fc3b5 commit fd8d4bbCopy full SHA for fd8d4bb
huaweicloud/config/auth.go
@@ -361,9 +361,9 @@ func buildClientByAgencyV5(c *Config) error {
361
"agency_urn": agencyUrn,
362
"agency_session_name": c.AssumeRoleAgency,
363
}
364
- if c.AssumeRoleDuration != 0 {
365
- createAssumeOpts["duration_seconds"] = c.AssumeRoleDuration
366
- }
+ if c.AssumeRoleDuration != 0 {
+ createAssumeOpts["duration_seconds"] = c.AssumeRoleDuration
+ }
367
createAssumeOpt := golangsdk.RequestOpts{
368
KeepResponseBody: true,
369
JSONBody: utils.RemoveNil(createAssumeOpts),
0 commit comments