Skip to content

Commit 677912d

Browse files
committed
ftx/cynosdb
1 parent 7f60893 commit 677912d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tencentcloud/resource_tc_cynosdb_cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ func resourceTencentCloudCynosdbClusterRead(d *schema.ResourceData, meta interfa
519519
oldValue := item["old_value"].(string)
520520
currentParamItem := make(map[string]string)
521521
currentParamItem["name"] = name
522-
if currentParamMap[name] != nil {
522+
if currentParamMap[name] != nil && currentParamMap[name].CurrentValue != nil {
523523
currentParamItem["current_value"] = *currentParamMap[name].CurrentValue
524524
}
525525
if oldValue != "" {

0 commit comments

Comments
 (0)