diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2018-11-07 14:32:19 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2018-11-09 14:17:09 -0800 |
commit | 2b0fb5b6249c2b456aa38ef8daf90f5739d6770a (patch) | |
tree | fb7d87537777882043a8702f9ce0b5138047aabf | |
parent | f827907b83b3c4a55200ebdf2f89882bc1f3736a (diff) | |
download | chef-2b0fb5b6249c2b456aa38ef8daf90f5739d6770a.tar.gz |
fix comments
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | lib/chef/node/attribute.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/node/attribute.rb b/lib/chef/node/attribute.rb index d0808cfa34..c5731b65a0 100644 --- a/lib/chef/node/attribute.rb +++ b/lib/chef/node/attribute.rb @@ -598,11 +598,11 @@ class Chef elsif merge_onto.kind_of?(Array) && merge_with.kind_of?(Array) merge_onto |= merge_with - # If merge_with is nil, don't replace merge_onto + # If merge_with is NIL, don't replace merge_onto elsif merge_with == NIL merge_onto - # In all other cases, replace merge_onto with merge_with + # In all other cases, replace merge_onto with merge_with else if merge_with.kind_of?(Hash) Chef::Node::ImmutableMash.new(merge_with) @@ -631,11 +631,11 @@ class Chef end merge_onto - # If merge_with is nil, don't replace merge_onto + # If merge_with is NIL, don't replace merge_onto elsif merge_with == NIL merge_onto - # In all other cases, replace merge_onto with merge_with + # In all other cases, replace merge_onto with merge_with else if merge_with.kind_of?(Hash) Chef::Node::ImmutableMash.new(merge_with) |