Skip to content

Commit

Permalink
Fix incorrect example for disabling promql/aggregate
Browse files Browse the repository at this point in the history
In the definition on how to disable the promql/aggregate rule
for `strip` labels, it is stated to use :false as the suffix,
but then uses :true in the example with a specific label.

Update the second example to match the first, correct, one.
  • Loading branch information
LloydW93 committed Jan 30, 2024
1 parent dc831d2 commit b1f339d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/checks/promql/aggregate.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Example:
Example:

```yaml
# pint disable promql/aggregate(instance:true)
# pint disable promql/aggregate(instance:false)
```

## How to snooze it
Expand Down

0 comments on commit b1f339d

Please sign in to comment.