Skip to content

Commit

Permalink
fix delete_matching_keys examples on docs (#29094)
Browse files Browse the repository at this point in the history
**Documentation:** minor for fox the `delete_matching_keys` since they
were referring to the `delete_key` function

Co-authored-by: Tyler Helmuth <12352919+TylerHelmuth@users.noreply.github.com>
  • Loading branch information
bmbferreira and TylerHelmuth authored Nov 14, 2023
1 parent 6fae6be commit 3755f73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/ottl/ottlfuncs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ All keys that match the pattern will be deleted from the map.
Examples:


- `delete_key(attributes, "http.request.header.authorization")`
- `delete_matching_keys(attributes, "(?i).*password.*")`

- `delete_key(resource.attributes, "http.request.header.authorization")`
- `delete_matching_keys(resource.attributes, "(?i).*password.*")`

### keep_keys

Expand Down

0 comments on commit 3755f73

Please sign in to comment.