diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-12-14 16:46:12 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-12-14 16:46:12 -0800 |
commit | 54799d8d25ed4565177f2a752088a220220c7344 (patch) | |
tree | f4e631d24ab6057cbfc821b8ba6d29fa1e51c7fd /lib/chef/node.rb | |
parent | 5d16e1847ad20818651af2b39c08285d94772e69 (diff) | |
download | chef-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.rb | 3 |
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 |