Skip to content

Commit

Permalink
show exported resources in diff
Browse files Browse the repository at this point in the history
exported resources have an effect, albeit on other nodes,
so it is useful to see them in the diff.
  • Loading branch information
mxey committed Mar 26, 2024
1 parent 37a5a9b commit 60ff898
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/octocatalog-diff/catalog-diff/differ.rb
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,6 @@ def filter_diffs_for_ignored_items(result)
def filter_and_cleanup(catalog_resources)
result = []
catalog_resources.each do |resource|
# Exported resources are skipped (this is specifically testing that the value is
# equal to the boolean true, not just that the value exists or something similar)
next if resource['exported'] == true

# This will be the modified hash added to result
hsh = {}
hsh['type'] = resource.fetch('type', '')
Expand Down

0 comments on commit 60ff898

Please sign in to comment.