cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [2/7] git commit: Summary: nothing to see here, move along
Date Thu, 03 Jan 2013 16:33:24 GMT
Summary: nothing to see here, move along

Fix for a stupid mistake.

Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/9122809e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/9122809e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/9122809e

Branch: refs/heads/api_refactoring
Commit: 9122809e00949230cb18211c3a3af0a44f57fd28
Parents: bba43f5
Author: Hugo Trippaers <htrippaers@schubergphilis.com>
Authored: Thu Jan 3 11:44:24 2013 +0100
Committer: Hugo Trippaers <htrippaers@schubergphilis.com>
Committed: Thu Jan 3 11:56:02 2013 +0100

----------------------------------------------------------------------
 .../src/com/cloud/network/nicira/NiciraNvpApi.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/9122809e/plugins/network-elements/nicira-nvp/src/com/cloud/network/nicira/NiciraNvpApi.java
----------------------------------------------------------------------
diff --git a/plugins/network-elements/nicira-nvp/src/com/cloud/network/nicira/NiciraNvpApi.java
b/plugins/network-elements/nicira-nvp/src/com/cloud/network/nicira/NiciraNvpApi.java
index 3e8e028..039c174 100644
--- a/plugins/network-elements/nicira-nvp/src/com/cloud/network/nicira/NiciraNvpApi.java
+++ b/plugins/network-elements/nicira-nvp/src/com/cloud/network/nicira/NiciraNvpApi.java
@@ -84,7 +84,7 @@ public class NiciraNvpApi {
     protected HttpMethod createMethod(String type, String uri) throws NiciraNvpApiException
{
     	String url;
         try {
-            url = new URL(_protocol, _host, "/ws.v1/login").toString();
+            url = new URL(_protocol, _host, uri).toString();
         } catch (MalformedURLException e) {
             s_logger.error("Unable to build Nicira API URL", e);
             throw new NiciraNvpApiException("Unable to build Nicira API URL", e);


Mime
View raw message