Sandro Bonazzola has uploaded a new change for review.

Change subject: sdk: updated api URL
......................................................................

sdk: updated api URL

Change-Id: I7438441a2ef1c9d41c44d51782a5631670a267d7
Bug-Url: https://bugzilla.redhat.com/1055517
Signed-off-by: Sandro Bonazzola <sbona...@redhat.com>
(cherry picked from commit 84efb44ce10fa4518fde75a4778654969f321c95)
---
M src/helper/hypervisors.py
1 file changed, 3 insertions(+), 1 deletion(-)


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

diff --git a/src/helper/hypervisors.py b/src/helper/hypervisors.py
index 1ab230f..d691c97 100644
--- a/src/helper/hypervisors.py
+++ b/src/helper/hypervisors.py
@@ -124,7 +124,9 @@
     """
     Initialize the oVirt RESTful API
     """
-    url = "https://"; + hostname + "/api"
+    url = 'https://{hostname}/ovirt-engine/api'.format(
+        hostname=hostname,
+    )
     api = API(url=url,
               username=username,
               password=password,


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7438441a2ef1c9d41c44d51782a5631670a267d7
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-log-collector
Gerrit-Branch: ovirt-log-collector-3.4
Gerrit-Owner: Sandro Bonazzola <sbona...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to