lib/chef/knife/profitbricks_nic_create.rb in knife-profitbricks-1.2.0 vs lib/chef/knife/profitbricks_nic_create.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 }
option :server_id,
short: '-S SERVER_ID',
long: '--server-id SERVER_ID',
description: 'Name of the server',