lib/kontena/plugin/digital_ocean/nodes/terminate_command.rb in kontena-plugin-digitalocean-0.1.1 vs lib/kontena/plugin/digital_ocean/nodes/terminate_command.rb in kontena-plugin-digitalocean-0.2.0.pre1
- old
+ new
@@ -8,10 +8,10 @@
def execute
require_api_url
require_current_grid
- require_relative '../../../machine/digital_ocean'
+ require 'kontena/machine/digital_ocean'
grid = client(require_token).get("grids/#{current_grid}")
destroyer = destroyer(client(require_token), token)
destroyer.run!(grid, name)
end