From 29bd63ba919df16a35f010abd7237b1c9a52fe0c Mon Sep 17 00:00:00 2001 From: Tianhao He Date: Thu, 19 Oct 2017 18:39:34 -0700 Subject: [PATCH] Update vapiconnect.py --- samples/vsphere/common/vapiconnect.py | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/vsphere/common/vapiconnect.py b/samples/vsphere/common/vapiconnect.py index 7f1c1247..21a7db0e 100644 --- a/samples/vsphere/common/vapiconnect.py +++ b/samples/vsphere/common/vapiconnect.py @@ -89,6 +89,7 @@ def logout(stub_config): def create_unverified_session(session, suppress_warning=True): """ Create a unverified session to disable the server certificate verification. + This is not recommended in production code. """ session.verify = False if suppress_warning: