Skip to content

Commit fd8d4bb

Browse files
committed
fix fmt issue
1 parent c1fc3b5 commit fd8d4bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: huaweicloud/config/auth.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -361,9 +361,9 @@ func buildClientByAgencyV5(c *Config) error {
361361
"agency_urn": agencyUrn,
362362
"agency_session_name": c.AssumeRoleAgency,
363363
}
364-
if c.AssumeRoleDuration != 0 {
365-
createAssumeOpts["duration_seconds"] = c.AssumeRoleDuration
366-
}
364+
if c.AssumeRoleDuration != 0 {
365+
createAssumeOpts["duration_seconds"] = c.AssumeRoleDuration
366+
}
367367
createAssumeOpt := golangsdk.RequestOpts{
368368
KeepResponseBody: true,
369369
JSONBody: utils.RemoveNil(createAssumeOpts),

0 commit comments

Comments
 (0)