Skip to content

Commit 463674d

Browse files
committed
fix: modify detail
1 parent 9b232f1 commit 463674d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tencentcloud/service_tencentcloud_cynosdb.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,10 @@ func (me *CynosdbService) DescribeInstanceById(ctx context.Context, instanceId s
364364
return
365365
}
366366

367+
if response == nil || response.Response == nil {
368+
return
369+
}
370+
367371
instanceInfo = response.Response.Detail
368372

369373
if instanceInfo.VpcId != nil {

0 commit comments

Comments
 (0)