Skip to content

Commit

Permalink
release 0.1.92-patch source code
Browse files Browse the repository at this point in the history
  • Loading branch information
Huaweicloud-SDK committed Apr 23, 2024
1 parent 9de9597 commit 7b10db6
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 2 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# 0.1.92-patch 2024-04-23

### HuaweiCloud SDK ECS

- _Features_
- None
- _Bug Fix_
- None
- _Change_
- **ShowServerLimits**
- changes of response param
- `* absolute.totalRAMUsed: int32 -> int64`

# 0.1.92 2024-04-18

### HuaweiCloud SDK AOM
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG_CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# 0.1.92-patch 2024-04-23

### HuaweiCloud SDK ECS

- _新增特性_
- 无
- _解决问题_
- 无
- _特性变更_
- **ShowServerLimits**
- 响应参数变更
- `* absolute.totalRAMUsed: int32 -> int64`

# 0.1.92 2024-04-18

### HuaweiCloud SDK AOM
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.92
0.1.92-patch
3 changes: 3 additions & 0 deletions services/cce/v3/region/region.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ var (
"https://cce.eu-west-0.myhuaweicloud.com")
RU_MOSCOW_1 = region.NewRegion("ru-moscow-1",
"https://cce.ru-moscow-1.myhuaweicloud.com")
ME_EAST_1 = region.NewRegion("me-east-1",
"https://cce.me-east-1.myhuaweicloud.com")
)

var staticFields = map[string]*region.Region{
Expand Down Expand Up @@ -92,6 +94,7 @@ var staticFields = map[string]*region.Region{
"my-kualalumpur-1": MY_KUALALUMPUR_1,
"eu-west-0": EU_WEST_0,
"ru-moscow-1": RU_MOSCOW_1,
"me-east-1": ME_EAST_1,
}

var provider = region.DefaultProviderChain("CCE")
Expand Down
2 changes: 1 addition & 1 deletion services/ecs/v2/model/model_server_limits.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ type ServerLimits struct {
TotalInstancesUsed int32 `json:"totalInstancesUsed"`

// 当前内存使用容量(单位:MB)。
TotalRAMUsed int32 `json:"totalRAMUsed"`
TotalRAMUsed int64 `json:"totalRAMUsed"`

// 当前安全组使用个数。
TotalSecurityGroupsUsed int32 `json:"totalSecurityGroupsUsed"`
Expand Down

0 comments on commit 7b10db6

Please sign in to comment.