summaryrefslogtreecommitdiff
path: root/lib/chef/whitelist.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-02-23 17:35:42 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2015-02-23 17:35:42 -0800
commite5bd51fb9c14d8bd96aca4d90a2dc1438da5a33e (patch)
tree19730450d6c51fa0f18ab97212b3298617e0adf7 /lib/chef/whitelist.rb
parent0e01c33eb861fc31fc63e15b9c59173e373aec2d (diff)
downloadchef-e5bd51fb9c14d8bd96aca4d90a2dc1438da5a33e.tar.gz
fix specs
reverts #get_default_attributes and #create_ace_with_mask_and_sid back to public methods, removes some redundant selfs
Diffstat (limited to 'lib/chef/whitelist.rb')
-rw-r--r--lib/chef/whitelist.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/whitelist.rb b/lib/chef/whitelist.rb
index 587baa6a3e..3682f7187e 100644
--- a/lib/chef/whitelist.rb
+++ b/lib/chef/whitelist.rb
@@ -32,7 +32,7 @@ class Chef
new_data = {}
whitelist.each do |item|
- self.add_data(data, new_data, item)
+ add_data(data, new_data, item)
end
new_data
end
@@ -40,7 +40,7 @@ class Chef
# Walk the data has according to the keys provided by the whitelisted item
# and add the data to the whitelisting result.
def self.add_data(data, new_data, item)
- parts = self.to_array(item)
+ parts = to_array(item)
all_data = data
filtered_data = new_data