Simone Tiraboschi has uploaded a new change for review.

Change subject: ovirt-image-uploader: using API SDK insecure parameter
......................................................................

ovirt-image-uploader: using API SDK insecure parameter

Correctly mapping command line insecure parameter to
API SDK insecure parameter.

Change-Id: I384e4749044bc2a7027cb550d6985bd1f741c9e0
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1102226
Signed-off-by: Simone Tiraboschi <[email protected]>
(cherry picked from commit 83cb6702cf3e5cf11612a5f4e7334fd37ce12a3f)
---
M src/__main__.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-image-uploader 
refs/changes/06/28206/1

diff --git a/src/__main__.py b/src/__main__.py
index dd8eadb..0200340 100644
--- a/src/__main__.py
+++ b/src/__main__.py
@@ -443,7 +443,7 @@
                     username=self.configuration.get("user"),
                     password=self.configuration.get("passwd"),
                     ca_file=self.configuration.get("cert_file"),
-                    validate_cert_chain=not self.configuration.get("insecure"),
+                    insecure=self.configuration.get("insecure"),
                 )
 
                 pi = self.api.get_product_info()


-- 
To view, visit http://gerrit.ovirt.org/28206
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I384e4749044bc2a7027cb550d6985bd1f741c9e0
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-image-uploader
Gerrit-Branch: ovirt-image-uploader-3.4
Gerrit-Owner: Simone Tiraboschi <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to