Skip to content

Commit

Permalink
Merge pull request #837 from ioito/hotfix/qx-huawei-role-list
Browse files Browse the repository at this point in the history
fix(huawei): role list
  • Loading branch information
ioito authored Mar 29, 2024
2 parents 5bdec2c + 5715c9f commit 0d32177
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/multicloud/huawei/huawei.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ func (self *SHuaweiClient) request(method httputils.THttpMethod, regionId, url s
}
if (strings.Contains(url, "/OS-CREDENTIAL/") ||
strings.Contains(url, "/users") ||
strings.Contains(url, "/roles") ||
strings.Contains(url, "/groups") ||
strings.Contains(url, "eps.myhuaweicloud.com")) && len(self.ownerId) > 0 {
header.Set("X-Domain-Id", self.ownerId)
Expand Down

0 comments on commit 0d32177

Please sign in to comment.