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