Skip to content

Commit 008b86b

Browse files
author
mikatong
committed
update
1 parent c7841e9 commit 008b86b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tencentcloud/services/ccn/service_tencentcloud_ccn.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1281,6 +1281,10 @@ func (me *VpcService) DescribeVpcCcnRoutesById(ctx context.Context, ccnId string
12811281
}
12821282
log.Printf("[DEBUG]%s api[%s] success, request body [%s], response body [%s]\n", logId, request.GetAction(), request.ToJsonString(), response.ToJsonString())
12831283

1284+
if response != nil && response.Response != nil && len(response.Response.RouteSet) > 0 {
1285+
ccnRoutes = response.Response.RouteSet[0]
1286+
}
1287+
12841288
return
12851289
}
12861290

0 commit comments

Comments
 (0)