summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-11-07 14:32:19 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2018-11-09 14:17:09 -0800
commit2b0fb5b6249c2b456aa38ef8daf90f5739d6770a (patch)
treefb7d87537777882043a8702f9ce0b5138047aabf
parentf827907b83b3c4a55200ebdf2f89882bc1f3736a (diff)
downloadchef-2b0fb5b6249c2b456aa38ef8daf90f5739d6770a.tar.gz
fix comments
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--lib/chef/node/attribute.rb8
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)