We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66585dc commit 21abb17Copy full SHA for 21abb17
lib/kitchen/driver/digitalocean.rb
@@ -44,6 +44,10 @@ class Digitalocean < Kitchen::Driver::SSHBase
44
default_config :firewalls, nil
45
default_config :vpcs, nil
46
47
+ default_config :api_url do
48
+ ENV["DIGITALOCEAN_API_URL"] || "https://api.digitalocean.com"
49
+ end
50
+
51
default_config :region do
52
ENV["DIGITALOCEAN_REGION"] || "nyc1"
53
end
@@ -175,7 +179,7 @@ def default_name
175
179
def client
176
180
debug_client_config
177
181
178
- DropletKit::Client.new(access_token: config[:digitalocean_access_token])
182
+ DropletKit::Client.new(access_token: config[:digitalocean_access_token], api_url: config[:api_url])
183
184
185
def create_server
0 commit comments