Skip to content

Commit

Permalink
Merge pull request #33698 from Unity-Technologies/vsphere-fixes
Browse files Browse the repository at this point in the history
Vsphere fixes
  • Loading branch information
Mike Place committed Jun 8, 2016
2 parents 01aaf3e + 8ff5906 commit a3202f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion salt/utils/vmware.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ 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()
if salt.utils.is_proxy():
service_instance._GetStub().GetConnection()
return service_instance
Disconnect(service_instance)

Expand Down

0 comments on commit a3202f1

Please sign in to comment.