lib/chef/knife/ionoscloud_datacenter_delete.rb in knife-ionoscloud-6.1.0 vs lib/chef/knife/ionoscloud_datacenter_delete.rb in knife-ionoscloud-6.1.1
- old
+ new
@@ -36,10 +36,10 @@
print_datacenter(datacenter)
puts "\n"
begin
confirm('Do you really want to delete this data center')
- rescue SystemExit => exc
+ rescue SystemExit
next
end
_, _, headers = datacenter_api.datacenters_delete_with_http_info(datacenter_id)
ui.warn("Deleted Data center #{datacenter.id}. Request ID: #{get_request_id headers}")