From bb76a5ab23dddd7e9bb591522b7996c295d8b2b8 Mon Sep 17 00:00:00 2001 From: Carl Baillargeon Date: Thu, 29 Aug 2024 03:43:38 -0400 Subject: [PATCH] doc: Fix merge_catalogs script (#804) fix(doc): Fix merge_catalogs script --- docs/usage-inventory-catalog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/usage-inventory-catalog.md b/docs/usage-inventory-catalog.md index 5ae4cc923..d8a032f26 100644 --- a/docs/usage-inventory-catalog.md +++ b/docs/usage-inventory-catalog.md @@ -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.