lib/fog/digitalocean/requests/compute/destroy_server.rb in fog-1.19.0 vs lib/fog/digitalocean/requests/compute/destroy_server.rb in fog-1.20.0
- old
+ new
@@ -8,10 +8,12 @@
#
def destroy_server( id )
request(
:expects => [200],
:method => 'GET',
- :path => "droplets/#{id}/destroy"
+ :path => "droplets/#{id}/destroy",
+ # We scrub data so future users can't read our disks.
+ :query => {:scrub_data => '1' }
)
end
end