Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion monitoring/prober/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,14 @@ Specifically:
E.g.:
```python
from monitoring.prober.infrastructure import register_resource_type

[...]
CONFLICTING_OI_TYPE = register_resource_type(103, "OI that conflicts with first OI")
[...]


def test_create_conflict(ids):
conflicting_id = ids(CONFLICTING_OI_TYPE)
conflicting_id = ids(CONFLICTING_OI_TYPE)
```
The resource type code must be unique among all prober tests. To determine
an appropriate resource type code for a new resource, see the comment above
Expand Down
42 changes: 21 additions & 21 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading