Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > 893b4547bb5f5eb61d2f3af4281e5a38 > files > 110

cman-2.0.115-96.el5_8.1.src.rpm

From 31000582619959bf3e596bd776cc75fedc8cadf2 Mon Sep 17 00:00:00 2001
From: Marek 'marx' Grac <mgrac@redhat.com>
Date: Mon, 21 Mar 2011 09:06:36 +0100
Subject: [PATCH] fence_rhevm: Update URL to RHEV-M REST API

Resolves: rhbz#681676
---
 fence/agents/rhevm/fence_rhevm.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fence/agents/rhevm/fence_rhevm.py b/fence/agents/rhevm/fence_rhevm.py
index 92272b9..c63251a 100755
--- a/fence/agents/rhevm/fence_rhevm.py
+++ b/fence/agents/rhevm/fence_rhevm.py
@@ -88,7 +88,7 @@ def send_command(opt, command, method = "GET"):
 	else:
 		url = "http:"
 
-	url += "//" + opt["-a"] + ":" + str(opt["-u"]) + "/rhevm-api-powershell/" + command
+	url += "//" + opt["-a"] + ":" + str(opt["-u"]) + "/rhevm-api/" + command
 
 	## send command through pycurl
 	c = pycurl.Curl()
-- 
1.7.3.4