Skip to content

Commit

Permalink
Merge pull request #1094 from chef/gcs-devel/remove-auth-from-manifes…
Browse files Browse the repository at this point in the history
…t-BS-111

Remove authorization from version manifest hash
  • Loading branch information
gcs-devel authored Dec 8, 2022
2 parents 52b6d2e + e7c7b37 commit 3e2e9a7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/omnibus/manifest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ def entry_names

def to_hash
software_hash = @data.inject({}) do |memo, (k, v)|
memo[k] = v.to_hash
h = v.to_hash
h[:locked_source].delete(:authorization) if h[:locked_source]

memo[k] = h
memo
end
ret = {
Expand Down

0 comments on commit 3e2e9a7

Please sign in to comment.