diff options
author | Thom May <thom@may.lt> | 2016-01-14 13:58:57 +0000 |
---|---|---|
committer | Thom May <thom@may.lt> | 2016-01-14 13:58:57 +0000 |
commit | 05064423057d4cf46f4713b81b08829cf6d20af6 (patch) | |
tree | acbf46b849ad87e9248bfe8616a1d846bd5264e0 /lib/chef/node.rb | |
parent | c05928361f871468634857fc4220ae08bf26dfab (diff) | |
parent | af4afcc712d24dbc85a9c020a124acadeed295d2 (diff) | |
download | chef-05064423057d4cf46f4713b81b08829cf6d20af6.tar.gz |
Merge pull request #4398 from chef/lcg/trailing_comma
autocorrecting Style/TrailingComma
Diffstat (limited to 'lib/chef/node.rb')
-rw-r--r-- | lib/chef/node.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/node.rb b/lib/chef/node.rb index cb486f8d09..e2f3ec4fc0 100644 --- a/lib/chef/node.rb +++ b/lib/chef/node.rb @@ -115,7 +115,7 @@ class Chef {:name => { :kind_of => String, :cannot_be => :blank, :regex => /^[\-[:alnum:]_:.]+$/} - }) + },) @name = arg else @name @@ -507,7 +507,7 @@ class Chef "default" => attributes.combined_default, "override" => attributes.combined_override, #Render correctly for run_list items so malformed json does not result - "run_list" => @primary_runlist.run_list.map { |item| item.to_s } + "run_list" => @primary_runlist.run_list.map { |item| item.to_s }, } # Chef Server rejects node JSON with extra keys; prior to 12.3, # "policy_name" and "policy_group" are unknown; after 12.3 they are |