disabled controller client timeout

gos_tech_4.4.3
Pyotr Krutov 3 years ago
parent 4b4efec196
commit 42c4f2e505
No known key found for this signature in database
GPG Key ID: E55254690327C021

@ -140,12 +140,9 @@ func ControllerConfigure(d *schema.ResourceData) (*ControllerCfg, error) {
transCfg := &http.Transport{TLSClientConfig: &tls.Config{InsecureSkipVerify: true}} //nolint:gosec
ret_config.cc_client = &http.Client{
Transport: transCfg,
Timeout: Timeout180s,
}
} else {
ret_config.cc_client = &http.Client{
Timeout: Timeout180s, // time.Second * 30,
}
ret_config.cc_client = &http.Client{}
}
switch ret_config.auth_mode_code {

Loading…
Cancel
Save