lib/chef/knife/profitbricks_server_delete.rb in knife-profitbricks-1.2.0 vs lib/chef/knife/profitbricks_server_delete.rb in knife-profitbricks-1.2.1
- old
+ new
@@ -9,11 +9,10 @@
option :datacenter_id,
short: '-D DATACENTER_ID',
long: '--datacenter-id DATACENTER_ID',
description: 'Name of the data center',
- proc: proc { |datacenter_id| Chef::Config[:knife][:datacenter_id] = datacenter_id },
- required: true
+ proc: proc { |datacenter_id| Chef::Config[:knife][:datacenter_id] = datacenter_id }
def run
connection
@name_args.each do |server_id|
begin