mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix a bug with self signed certificates and creating a new VM
- Removed the GetConnection call as all this does is cause connections that are connected with the overrides for "CERTIFICATE_VERIFY_FAILED" to not be able to connect the 2nd time the si is fetched
This commit is contained in:
parent
7834aeda7d
commit
64e9334d56
1 changed files with 0 additions and 1 deletions
|
@ -187,7 +187,6 @@ def get_service_instance(host, username, password, protocol=None, port=None):
|
|||
service_instance = GetSi()
|
||||
if service_instance:
|
||||
if service_instance._GetStub().host == ':'.join([host, str(port)]):
|
||||
service_instance._GetStub().GetConnection()
|
||||
return service_instance
|
||||
Disconnect(service_instance)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue