Open ivs opened 2 years ago
Hi @ivs,
I am unable to reproduce this issue. Can you share anything more about your code and environment that might help use reproduce the problem?
I'm using lib from capistrano like this:
require "droplet_kit"
do_client = DropletKit::Client.new(access_token: '')
task :create_nodes do
locations = ['nyc3', 'lon1', 'lon1']
locations.each_with_index do |loc, i|
droplet = DropletKit::Droplet.new(name: "relay#{i}", region: loc, image: 'ubuntu-22-04-x64', size: 's-1vcpu-1gb', tags: ["web"], ssh_keys: [123])
do_client.droplets.create droplet
end
end
Capistrano Version: 3.17.1 (Rake Version: 13.0.6)
Hi! Any call to droplet_kit api gives me this error:
I've commented out this exception in resource_kit/method_factory.rb like this:
And it works fine. Exception raised for delete action for each resource.