Skip to content

Commit 0e5258a

Browse files
authored
fix(thpc): [119548471] Optimized code (#2824)
* add * add
1 parent d76d437 commit 0e5258a

File tree

5 files changed

+132
-7
lines changed

5 files changed

+132
-7
lines changed

.changelog/2824.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:enhancement
2+
resource/tencentcloud_thpc_workspaces: Optimized code
3+
```

tencentcloud/services/thpc/extension_thpc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ var SPACE_CHARGE_TYPE = []string{
1616
}
1717

1818
const (
19-
CVM_DISK_TYPE_LOCAL_NVME = "CVM_DISK_TYPE_LOCAL_NVME"
19+
CVM_DISK_TYPE_LOCAL_NVME = "LOCAL_NVME"
2020
CVM_DISK_TYPE_LOCAL_BASIC = "LOCAL_BASIC"
2121
CVM_DISK_TYPE_LOCAL_SSD = "LOCAL_SSD"
2222
CVM_DISK_TYPE_CLOUD_BASIC = "CLOUD_BASIC"

tencentcloud/services/thpc/resource_tc_thpc_workspaces.go

Lines changed: 126 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tencentcloud/services/thpc/resource_tc_thpc_workspaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ resource "tencentcloud_thpc_workspaces" "example" {
205205

206206
Import
207207

208-
thpc workspaces can be imported using the id, e.g.
208+
THPC workspaces can be imported using the id, e.g.
209209

210210
```
211211
terraform import tencentcloud_thpc_workspaces.example wks-gwg3ygz1

website/docs/r/thpc_workspaces.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ In addition to all arguments above, the following attributes are exported:
323323

324324
## Import
325325

326-
thpc workspaces can be imported using the id, e.g.
326+
THPC workspaces can be imported using the id, e.g.
327327

328328
```
329329
terraform import tencentcloud_thpc_workspaces.example wks-gwg3ygz1

0 commit comments

Comments
 (0)