Skip to content

Commit 3065b4e

Browse files
author
mikatong
committed
fix portable not effect
1 parent 81de2da commit 3065b4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tencentcloud/services/cbs/data_source_tc_cbs_storages.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ func dataSourceTencentCloudCbsStoragesRead(d *schema.ResourceData, meta interfac
240240
params["disk-charge-type"] = helper.InterfacesStringsPoint(v.([]interface{}))
241241
}
242242

243-
if v, ok := d.GetOk("portable"); ok {
243+
if v, ok := d.GetOkExists("portable"); ok {
244244
if v.(bool) {
245245
params["portable"] = "TRUE"
246246
} else {

0 commit comments

Comments
 (0)