summaryrefslogtreecommitdiff
path: root/lib/chef/node.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-12-14 16:46:12 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2015-12-14 16:46:12 -0800
commit54799d8d25ed4565177f2a752088a220220c7344 (patch)
treef4e631d24ab6057cbfc821b8ba6d29fa1e51c7fd /lib/chef/node.rb
parent5d16e1847ad20818651af2b39c08285d94772e69 (diff)
downloadchef-54799d8d25ed4565177f2a752088a220220c7344.tar.gz
really always return an Arraylcg/fix-tags-and-set-unless
Diffstat (limited to 'lib/chef/node.rb')
-rw-r--r--lib/chef/node.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/node.rb b/lib/chef/node.rb
index b2ef3aaf2f..0c13e5474a 100644
--- a/lib/chef/node.rb
+++ b/lib/chef/node.rb
@@ -1,4 +1,3 @@
-#
# Author:: Adam Jacob (<adam@opscode.com>)
# Author:: Christopher Brown (<cb@opscode.com>)
# Author:: Christopher Walters (<cw@opscode.com>)
@@ -372,7 +371,7 @@ class Chef
# Lazy initializer for tags attribute
def tags
- normal_unless[:tags] = []
+ normal[:tags] = Array(normal[:tags])
normal[:tags]
end