Skip to content

Commit 7ebf15d

Browse files
tongyimingmikatong
and
mikatong
authored
fix portable not effect (#3210)
Co-authored-by: mikatong <[email protected]>
1 parent 053918a commit 7ebf15d

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)