Repository: libcloud
Updated Branches:
  refs/heads/trunk b2b7684a7 -> b5592af8b


[scaleway] Fix the pagination

Signed-off-by: Quentin Pradet <[email protected]>


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

Branch: refs/heads/trunk
Commit: b39802d5ef033306da6856056251f0525fd710fd
Parents: b2b7684
Author: Daniel Hunsaker <[email protected]>
Authored: Sat Jun 30 15:27:42 2018 -0600
Committer: Quentin Pradet <[email protected]>
Committed: Fri Jul 6 10:13:23 2018 +0400

----------------------------------------------------------------------
 libcloud/compute/drivers/scaleway.py | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/b39802d5/libcloud/compute/drivers/scaleway.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/scaleway.py 
b/libcloud/compute/drivers/scaleway.py
index 2c313bf..a6954d2 100644
--- a/libcloud/compute/drivers/scaleway.py
+++ b/libcloud/compute/drivers/scaleway.py
@@ -104,6 +104,7 @@ class ScalewayConnection(ConnectionUserAndKey):
             next = self.request(links['next']['url'], data=data,
                                 headers=headers, method=method,
                                 raw=raw, stream=stream).object
+            links = self.connection.getresponse().links
             merged = {root: child + next[root]
                       for root, child in list(results.items())}
             results = merged

Reply via email to