lib/chef/knife/ionoscloud_lan_update.rb in knife-ionoscloud-6.0.0 vs lib/chef/knife/ionoscloud_lan_update.rb in knife-ionoscloud-6.1.0
- old
+ new
@@ -31,15 +31,14 @@
option :pcc,
long: '--pcc PCC_ID',
description: 'ID of the PCC to connect the LAN to'
- attr_reader :description, :required_options
-
def initialize(args = [])
super(args)
@description =
'Updates information about a Ionoscloud LAN.'
+ @directory = 'compute-engine'
@required_options = [:datacenter_id, :lan_id, :ionoscloud_username, :ionoscloud_password]
@updatable_fields = [:name, :public, :pcc, :description]
end
def run