Skip to content

Commit 4ccf1ea

Browse files
committed
use API v2 as default
1 parent 9b0c121 commit 4ccf1ea

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

libcloud/dns/drivers/rcodezero.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def __init__(
110110
secure=True,
111111
host=None,
112112
port=None,
113-
api_version="v1",
113+
api_version="v2",
114114
**kwargs,
115115
):
116116
"""
@@ -139,6 +139,8 @@ def __init__(
139139

140140
if api_version == "v1":
141141
self.api_root = "/api/v1"
142+
elif api_version == "v2":
143+
self.api_root = "/api/v2"
142144
else:
143145
raise NotImplementedError("Unsupported API version: %s" % api_version)
144146

0 commit comments

Comments
 (0)