Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .changelog/2138.txt

This file was deleted.

3 changes: 0 additions & 3 deletions tencentcloud/extension_as.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const (
SYSTEM_DISK_TYPE_CLOUD_PREMIUM = "CLOUD_PREMIUM"
SYSTEM_DISK_TYPE_CLOUD_SSD = "CLOUD_SSD"
SYSTEM_DISK_TYPE_CLOUD_HSSD = "CLOUD_HSSD"
SYSTEM_DISK_TYPE_CLOUD_BSSD = "CLOUD_BSSD"
SYSTEM_DISK_TYPE_CLOUD_TSSD = "CLOUD_TSSD"
)

Expand All @@ -19,7 +18,6 @@ var SYSTEM_DISK_ALLOW_TYPE = []string{
SYSTEM_DISK_TYPE_CLOUD_SSD,
SYSTEM_DISK_TYPE_CLOUD_HSSD,
SYSTEM_DISK_TYPE_CLOUD_TSSD,
SYSTEM_DISK_TYPE_CLOUD_BSSD,
}

const (
Expand Down Expand Up @@ -49,7 +47,6 @@ const (

const (
SCALING_GROUP_RETRY_POLICY_IMMEDIATE_RETRY = "IMMEDIATE_RETRY"
SCALING_GROUP_RETRY_POLICY_NO_RETRY = "NO_RETRY"
SCALING_GROUP_RETRY_POLICY_INCREMENTAL_INTERVALS = "INCREMENTAL_INTERVALS"
)

Expand Down
9 changes: 0 additions & 9 deletions tencentcloud/internal/helper/transform.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,21 +71,12 @@ func PString(pointer *string) string {
}
return *pointer
}
func PBool(pointer *bool) bool {
if pointer == nil {
return false
}
return *pointer
}

func PUint64(pointer *uint64) uint64 {
return *pointer
}

func PInt64(pointer *int64) int64 {
if pointer == nil {
return 0
}
return *pointer
}

Expand Down
Loading