Skip to content

Commit

Permalink
Merge d7ccdb2 into 911ec7c
Browse files Browse the repository at this point in the history
  • Loading branch information
lndbrg committed Apr 15, 2014
2 parents 911ec7c + d7ccdb2 commit 66581aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/fog/cloudstack/models/compute/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ def addresses
nics.map{|nic| Address.new(nic)}
end

def destroy
def destroy(expunge=false)
requires :id
data = service.destroy_virtual_machine("id" => id)
data = service.destroy_virtual_machine("id" => id, "expunge" => expunge)
service.jobs.new(data["destroyvirtualmachineresponse"])
end

Expand Down

0 comments on commit 66581aa

Please sign in to comment.