lib/kontena/plugin/digital_ocean/nodes/restart_command.rb in kontena-plugin-digitalocean-0.1.0 vs lib/kontena/plugin/digital_ocean/nodes/restart_command.rb in kontena-plugin-digitalocean-0.1.1
- old
+ new
@@ -8,10 +8,10 @@
def execute
require_api_url
require_current_grid
- require 'kontena/machine/digital_ocean'
+ require_relative '../../../machine/digital_ocean'
client = DropletKit::Client.new(access_token: token)
droplet = client.droplets.all.find{|d| d.name == name}
if droplet
ShellSpinner "Restarting DigitalOcean droplet #{name.colorize(:cyan)} " do