From dfc59fb4aa1b8b8d1b697ca651fbabfb6f6de13e Mon Sep 17 00:00:00 2001 From: Tomasz Maczukin Date: Thu, 27 Apr 2017 20:14:30 +0200 Subject: [PATCH] Replace edit_data() with edit_hash() in vault_edit.rb Signed-off-by: Tomasz Maczukin --- lib/chef/knife/vault_edit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chef/knife/vault_edit.rb b/lib/chef/knife/vault_edit.rb index c768c5a..5799b42 100644 --- a/lib/chef/knife/vault_edit.rb +++ b/lib/chef/knife/vault_edit.rb @@ -39,7 +39,7 @@ def run filtered_vault_data = vault_item.raw_data.select { |x| x != "id" } - updated_vault_json = edit_data(filtered_vault_data) + updated_vault_json = edit_hash(filtered_vault_data) # Clean out contents of existing local vault_item vault_item.raw_data.each do |key, _|