Method: Deltacloud::Drivers::Openstack::OpenstackDriver#destroy_storage_snapshot

Defined in:
lib/deltacloud/drivers/openstack/openstack_driver.rb

#destroy_storage_snapshot(credentials, opts = {}) ⇒ Object



479
480
481
482
483
484
# File 'lib/deltacloud/drivers/openstack/openstack_driver.rb', line 479

def destroy_storage_snapshot(credentials, opts={})
  vs = new_client(credentials, "volume")
  safely do
    vs.delete_snapshot(opts[:id])
  end
end