libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [1/2] libcloud git commit: TypeError occurred when calling ex_list_nics in Azure ARM Driver Closes #979
Date Sat, 01 Apr 2017 00:40:25 GMT
Repository: libcloud
Updated Branches:
  refs/heads/trunk 722748f78 -> 567db9791


TypeError occurred when calling ex_list_nics in Azure ARM Driver
Closes #979


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/56fdfd22
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/56fdfd22
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/56fdfd22

Branch: refs/heads/trunk
Commit: 56fdfd22f959eae5d65001a356655f0fa95aed39
Parents: 722748f
Author: Choi Jongu <zoopi01@gmail.com>
Authored: Fri Jan 20 16:12:35 2017 +0900
Committer: Anthony Shaw <anthonyshaw@apache.org>
Committed: Sat Apr 1 11:39:30 2017 +1100

----------------------------------------------------------------------
 libcloud/compute/drivers/azure_arm.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/56fdfd22/libcloud/compute/drivers/azure_arm.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/azure_arm.py b/libcloud/compute/drivers/azure_arm.py
index 44abcdb..9084099 100644
--- a/libcloud/compute/drivers/azure_arm.py
+++ b/libcloud/compute/drivers/azure_arm.py
@@ -868,8 +868,8 @@ class AzureNodeDriver(NodeDriver):
         :rtype: ``list`` of :class:`.AzureNic`
         """
 
-        action = "/subscriptions/%s/providers/Microsoft.Network" \
-                 "/networkInterfaces" % \
+        action = "/subscriptions/%s/resourceGroups/%s" \
+                 "/providers/Microsoft.Network/networkInterfaces" % \
                  (self.subscription_id, resource_group)
         r = self.connection.request(action,
                                     params={"api-version": "2015-06-15"})


Mime
View raw message