summaryrefslogtreecommitdiff
path: root/lib/chef/knife/core/node_editor.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/knife/core/node_editor.rb')
-rw-r--r--lib/chef/knife/core/node_editor.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/knife/core/node_editor.rb b/lib/chef/knife/core/node_editor.rb
index 753ee01704..5dc88cb4cc 100644
--- a/lib/chef/knife/core/node_editor.rb
+++ b/lib/chef/knife/core/node_editor.rb
@@ -67,9 +67,9 @@ class Chef
policy_name
policy_group
run_list
- }.reject do |key|
+ }.reject { |key|
pristine_copy[key] == updated_copy[key]
- end
+ }
updated_properties.any? && updated_properties
end