Skip to content

Commit 4708d89

Browse files
authored
Feat/fix type error (#1766)
* fix keyword int * add fix type
1 parent 2015f03 commit 4708d89

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tencentcloud/connectivity/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1157,9 +1157,9 @@ func getEnvDefault(key string, defVal int) int {
11571157
if !ex {
11581158
return defVal
11591159
}
1160-
int, err := strconv.Atoi(val)
1160+
timeOut, err := strconv.Atoi(val)
11611161
if err != nil {
11621162
panic("TENCENTCLOUD_XXX_REQUEST_TIMEOUT must be int.")
11631163
}
1164-
return int
1164+
return timeOut
11651165
}

website/tencentcloud.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2417,10 +2417,10 @@
24172417
<a href="/docs/providers/tencentcloud/d/tsf_microservice.html">tencentcloud_tsf_microservice</a>
24182418
</li>
24192419
<li>
2420-
<a href="/docs/providers/tencentcloud/d/tsf_public_config_summary.html">tencentcloud_tsf_public_config_summary</a>
2420+
<a href="/docs/providers/tencentcloud/d/tsf_microservice_api_version.html">tencentcloud_tsf_microservice_api_version</a>
24212421
</li>
24222422
<li>
2423-
<a href="/docs/providers/tencentcloud/d/tsf_microservice_api_version.html">tencentcloud_tsf_microservice_api_version</a>
2423+
<a href="/docs/providers/tencentcloud/d/tsf_public_config_summary.html">tencentcloud_tsf_public_config_summary</a>
24242424
</li>
24252425
<li>
24262426
<a href="/docs/providers/tencentcloud/d/tsf_unit_rules.html">tencentcloud_tsf_unit_rules</a>

0 commit comments

Comments
 (0)