summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2019-04-17 09:04:27 -0700
committerGitHub <noreply@github.com>2019-04-17 09:04:27 -0700
commit59c5de1d6240a29b262cf43a8a0a91920a40b4b3 (patch)
treeb566acfc5b0d85c3db97d135ade434c89cf80f04 /lib
parent72e89d2b6d71e0eca6102c241f4143cc6cbe5134 (diff)
parent2113866892f8c243b60cb9afaa86685f6bdb7e8c (diff)
downloadchef-59c5de1d6240a29b262cf43a8a0a91920a40b4b3.tar.gz
Merge pull request #8077 from MsysTechnologiesllc/Vijay/MSYS-932_Fix_for_unable_to_access_databag_after_update_to_encrypt_data
Allow encrypting a previously unencrypted data bag
Diffstat (limited to 'lib')
-rw-r--r--lib/chef/knife/data_bag_edit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/knife/data_bag_edit.rb b/lib/chef/knife/data_bag_edit.rb
index 5d76762058..6c7f73ad6c 100644
--- a/lib/chef/knife/data_bag_edit.rb
+++ b/lib/chef/knife/data_bag_edit.rb
@@ -43,7 +43,7 @@ class Chef
exit(1)
end
else
- return item, false
+ return item.raw_data, false
end
end