summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Kantrowitz <noah@coderanger.net>2015-06-19 23:09:01 -0700
committerNoah Kantrowitz <noah@coderanger.net>2015-06-19 23:09:01 -0700
commitcccd342d1cac66771e4806827dfb6a31e4d3c05c (patch)
treefeadf37b3f5acc1eb8728a69a045bec46037a323
parent29dc98c61d1dc206ce40643ccbe9c8963db428d7 (diff)
downloadchef-cccd342d1cac66771e4806827dfb6a31e4d3c05c.tar.gz
Use the right call.
set_priority_array is the right thing for this.
-rw-r--r--lib/chef/platform/priority_map.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/platform/priority_map.rb b/lib/chef/platform/priority_map.rb
index 1bfb97af4a..d559eece78 100644
--- a/lib/chef/platform/priority_map.rb
+++ b/lib/chef/platform/priority_map.rb
@@ -4,7 +4,7 @@ class Chef
class Platform
class PriorityMap < Chef::NodeMap
def priority(resource_name, priority_array, *filter)
- set(resource_name.to_sym, Array(priority_array), *filter)
+ set_priority_array(resource_name.to_sym, priority_array, *filter)
end
# @api private