lib/chef/knife/ionoscloud_datacenter_delete.rb in knife-ionoscloud-6.0.0.beta.1 vs lib/chef/knife/ionoscloud_datacenter_delete.rb in knife-ionoscloud-6.0.0.beta.2
- old
+ new
@@ -32,15 +32,10 @@
raise err unless err.code == 404
ui.error("Data center ID #{datacenter_id} not found. Skipping.")
next
end
- msg_pair('ID', datacenter.id)
- msg_pair('Name', datacenter.properties.name)
- msg_pair('Description', datacenter.properties.description)
- msg_pair('Location', datacenter.properties.location)
- msg_pair('Version', datacenter.properties.version)
-
+ print_datacenter(datacenter)
puts "\n"
begin
confirm('Do you really want to delete this data center')
rescue SystemExit => exc