Skip to content

Commit

Permalink
Merge pull request #274 from tmaczukin/fix-vault-edit
Browse files Browse the repository at this point in the history
Replace edit_data() with edit_hash() in vault_edit.rb
  • Loading branch information
thommay authored Apr 28, 2017
2 parents ab5fb35 + dfc59fb commit f67b1a7
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 f67b1a7

Please sign in to comment.