Kiril Nesenko has uploaded a new change for review.

Change subject: tools: Rename engine_ca to cert_file.
......................................................................

tools: Rename engine_ca to cert_file.

Renamed engine_ca to cert_file. This patch fixes API object creation by
renaming engine_ca.

Change-Id: I8552f56c4e70be5235ce148c0677ebaed2065df9
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=894689
Signed-off-by: Kiril Nesenko <[email protected]>
---
M src/rhev/logcollector.py
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-log-collector 
refs/changes/24/11024/1

diff --git a/src/rhev/logcollector.py b/src/rhev/logcollector.py
index a86c165..f464a7e 100644
--- a/src/rhev/logcollector.py
+++ b/src/rhev/logcollector.py
@@ -690,7 +690,7 @@
             return hypervisors.get_all(self.conf.get("engine"),
                                        self.conf.get("user"),
                                        self.conf.get("passwd"),
-                                       self.conf.get("engine_ca"),
+                                       self.conf.get("cert_file"),
                                        self.conf.get("insecure"))
         except Exception, e:
             ExitCodes.exit_code=ExitCodes.WARN
@@ -913,7 +913,7 @@
                       metavar="PATH",
                       default=DEFAULT_LOG_FILE)
 
-    parser.add_option("", "--engine-ca", dest="engine_ca",
+    parser.add_option("", "--engine-ca", dest="cert_file",
             help="The CA certificate used to validate the engine. 
(default=/etc/pki/ovirt-engine/ca.pem)",
             metavar="/etc/pki/ovirt-engine/ca.pem",
             default="/etc/pki/ovirt-engine/ca.pem")


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8552f56c4e70be5235ce148c0677ebaed2065df9
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-log-collector
Gerrit-Branch: master
Gerrit-Owner: Kiril Nesenko <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to