Skip to content

Commit

Permalink
use API v2 as default
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeAT committed Jan 3, 2025
1 parent 9b0c121 commit 4ccf1ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libcloud/dns/drivers/rcodezero.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def __init__(
secure=True,
host=None,
port=None,
api_version="v1",
api_version="v2",
**kwargs,
):
"""
Expand Down Expand Up @@ -139,6 +139,8 @@ def __init__(

if api_version == "v1":
self.api_root = "/api/v1"
elif api_version == "v2":
self.api_root = "/api/v2"
else:
raise NotImplementedError("Unsupported API version: %s" % api_version)

Expand Down

0 comments on commit 4ccf1ea

Please sign in to comment.