Skip to content

Commit d7a51a2

Browse files
authored
fix: Properly pass the url argument (#82)
We need this patch in order to use other API environments.
1 parent dbd26c0 commit d7a51a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

exoscale/api/v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def _sleep(start_time):
9999

100100
class Client(BaseClient):
101101
def __init__(self, key, secret, *args, url=None, **kwargs):
102-
super().__init__(*args, **kwargs)
102+
super().__init__(*args, url=url, **kwargs)
103103
self.WAIT_ABORT_ERRORS_COUNT = 5
104104

105105
client = requests.Session()

0 commit comments

Comments
 (0)