summaryrefslogtreecommitdiff
path: root/lib/chef/knife/node_show.rb
diff options
context:
space:
mode:
authorTom Duffield <tom@chef.io>2016-10-25 15:31:18 -0500
committerTom Duffield <tom@chef.io>2016-10-28 14:20:49 -0500
commitdaa20d6b7e6afb066760b7e7c59f1d9f2b4a409b (patch)
tree4e3d4534290dcf3786c518daa5f1b55aa7e012be /lib/chef/knife/node_show.rb
parentaa9bbabde662a58c581ed4d87707eac5534bc292 (diff)
downloadchef-daa20d6b7e6afb066760b7e7c59f1d9f2b4a409b.tar.gz
Make includers of MultiAttributeReturnOption consistent
Make all the Knife subcommands that include `Chef::Knife::Core::AttributeReturnOption` consistent in how they handle attributes. Signed-off-by: Tom Duffield <tom@chef.io>
Diffstat (limited to 'lib/chef/knife/node_show.rb')
-rw-r--r--lib/chef/knife/node_show.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/chef/knife/node_show.rb b/lib/chef/knife/node_show.rb
index c616b8ab72..3092b3fc27 100644
--- a/lib/chef/knife/node_show.rb
+++ b/lib/chef/knife/node_show.rb
@@ -55,11 +55,6 @@ class Chef
node = Chef::Node.load(@node_name)
output(format_for_display(node))
- self.class.attrs_to_show = []
- end
-
- def self.attrs_to_show=(attrs)
- @attrs_to_show = attrs
end
end
end