Skip to content

Commit

Permalink
doc: Fix merge_catalogs script (#804)
Browse files Browse the repository at this point in the history
fix(doc): Fix merge_catalogs script
  • Loading branch information
carl-baillargeon authored Aug 29, 2024
1 parent 90299d1 commit bb76a5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/usage-inventory-catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ if __name__ == "__main__":
# Save the merged catalog to a file
with open(Path('anta-catalog.yml'), "w") as f:
f.write(catalog.dump().yaml())
f.write(merged_catalog.dump().yaml())
```
!!! warning
The `AntaCatalog.merge()` method is deprecated and will be removed in ANTA v2.0. Please use the `AntaCatalog.merge_catalogs()` class method instead.

0 comments on commit bb76a5a

Please sign in to comment.