You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/pint/tests/0122_lint_owner_allowed.txt
+24-1Lines changed: 24 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,14 @@ rules/1.yml:7-8 Bug: This rule is set as owned by `bob` but `bob` doesn't match
13
13
7 | - alert: Invalid
14
14
8 | expr: up == 0
15
15
16
-
level=INFO msg="Problems found" Bug=2
16
+
rules/2.yml:4-5 Bug: `rule/owner` comments are required in all files, please add a `# pint file/owner $owner` somewhere in this file and/or `# pint rule/owner $owner` on top of each rule. (rule/owner)
17
+
4 | - alert: No Owner
18
+
5 | expr: up > 0
19
+
20
+
rules/3.yml:1 Bug: This file is set as owned by `ax` but `ax` doesn't match any of the allowed owner values. (rule/owner)
21
+
1 | # pint file/owner ax
22
+
23
+
level=INFO msg="Problems found" Bug=4
17
24
level=ERROR msg="Fatal error" err="found 1 problem(s) with severity Bug or higher"
0 commit comments