From 7b2dc78d178240e8605f34b6121049edca50bc2b Mon Sep 17 00:00:00 2001 From: Chad Phillips Date: Mon, 11 Dec 2017 19:37:56 -0800 Subject: [PATCH] fix path for profitbricks list_snapshots() method leading slash breaks the URL --- libcloud/compute/drivers/profitbricks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcloud/compute/drivers/profitbricks.py b/libcloud/compute/drivers/profitbricks.py index 9477a09e02..1b12452618 100644 --- a/libcloud/compute/drivers/profitbricks.py +++ b/libcloud/compute/drivers/profitbricks.py @@ -1223,7 +1223,7 @@ def list_snapshots(self): """ response = self.connection.request( - action='/snapshots', + action='snapshots', params={'depth': 3}, method='GET' )