diff options
author | Kelley Reynolds <kelley@insidesystems.net> | 2012-09-06 16:03:12 -0400 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2012-09-19 14:51:55 -0700 |
commit | fefa091626b4f79dcc62efb68915b5ccca767fde (patch) | |
tree | ff65b54c11980e24d7f477ae07f9fcfe5e51385f /chef/lib/chef/knife | |
parent | e25fa3e1921eb986f272b8197d483a905a841003 (diff) | |
download | chef-fefa091626b4f79dcc62efb68915b5ccca767fde.tar.gz |
CHEF-3416: Remove improper call to #raw_data when using print_after
Diffstat (limited to 'chef/lib/chef/knife')
-rw-r--r-- | chef/lib/chef/knife/data_bag_edit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chef/lib/chef/knife/data_bag_edit.rb b/chef/lib/chef/knife/data_bag_edit.rb index 9ea9e5d282..234c77177d 100644 --- a/chef/lib/chef/knife/data_bag_edit.rb +++ b/chef/lib/chef/knife/data_bag_edit.rb @@ -84,7 +84,7 @@ class Chef output = edit_item(item) rest.put_rest("data/#{@name_args[0]}/#{@name_args[1]}", output) stdout.puts("Saved data_bag_item[#{@name_args[1]}]") - output(format_for_display(object.raw_data)) if config[:print_after] + ui.output(output) if config[:print_after] end end end |