summaryrefslogtreecommitdiff
path: root/lib/chef/knife/raw.rb
diff options
context:
space:
mode:
authorjkeiser <jkeiser@opscode.com>2012-12-23 15:37:33 -0800
committerJohn Keiser <jkeiser@opscode.com>2013-06-07 13:12:13 -0700
commit46f93b08adc69725f867852bdd730224eb97cb97 (patch)
tree5ba3c06f85593b9e4752aa0392c18a7a0c9a77f2 /lib/chef/knife/raw.rb
parentaacbb12ceed58c5bda6586e79a637d459457f8e3 (diff)
downloadchef-46f93b08adc69725f867852bdd730224eb97cb97.tar.gz
Use knife "ui.output" instead of puts
Diffstat (limited to 'lib/chef/knife/raw.rb')
-rw-r--r--lib/chef/knife/raw.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/raw.rb b/lib/chef/knife/raw.rb
index ad5d5f33ef..8ee189fbe8 100644
--- a/lib/chef/knife/raw.rb
+++ b/lib/chef/knife/raw.rb
@@ -39,7 +39,7 @@ class Chef
data = IO.read(config[:input])
end
chef_rest = Chef::REST.new(Chef::Config[:chef_server_url])
- puts api_request(chef_rest, config[:method].to_sym, chef_rest.create_url(name_args[0]), {}, data)
+ output api_request(chef_rest, config[:method].to_sym, chef_rest.create_url(name_args[0]), {}, data)
end
ACCEPT_ENCODING = "Accept-Encoding".freeze