Skip to content

Commit

Permalink
Replace edit_data() with edit_hash() in vault_edit.rb
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Maczukin <tomasz@maczukin.pl>
  • Loading branch information
tmaczukin committed Apr 28, 2017
1 parent ab5fb35 commit dfc59fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chef/knife/vault_edit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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, _|
Expand Down

0 comments on commit dfc59fb

Please sign in to comment.