Skip to content

Commit

Permalink
doc: Update usge inventory catalog script
Browse files Browse the repository at this point in the history
  • Loading branch information
titom73 committed May 22, 2024
1 parent 5d780e9 commit 55a2c32
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 @@ -269,7 +269,7 @@ if __name__ == "__main__":
# Apply filters to all tests for this device
for test in c.tests:
test.inputs.filters = AntaTest.Input.Filters(tags=[device])
catalog.merge(c)
catalog = catalog.merge(c)
with open(Path('anta-catalog.yml'), "w") as f:
f.write(catalog.dump().yaml())
```

0 comments on commit 55a2c32

Please sign in to comment.