Skip to content

Commit

Permalink
Bump github.com/rs/zerolog from 1.26.0 to 1.26.1
Browse files Browse the repository at this point in the history
Bumps [github.com/rs/zerolog](https://github.com/rs/zerolog) from 1.26.0 to 1.26.1.
- [Release notes](https://github.com/rs/zerolog/releases)
- [Commits](rs/zerolog@v1.26.0...v1.26.1)

---
updated-dependencies:
- dependency-name: github.com/rs/zerolog
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
  • Loading branch information
dependabot[bot] authored and prymitive committed Dec 21, 2021
1 parent 40c34eb commit 716d493
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 22 deletions.
2 changes: 1 addition & 1 deletion cmd/pint/tests/0001_match_path.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ rules/0002.yml:2: job label is required and should be preserved when aggregating
expr: sum(foo) without(job)

level=info msg="Problems found" Bug=1
level=fatal msg="Fatal error" error="problems found"
level=fatal msg="Fatal error" error="problems found"
-- rules/0001.yml --
- record: "colo:test1"
expr: sum(foo) without(job)
Expand Down
2 changes: 1 addition & 1 deletion cmd/pint/tests/0002_nothing_to_lint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ pint.error lint rules
cmp stderr stderr.txt

-- stderr.txt --
level=fatal msg="Fatal error" error="no matching files"
level=fatal msg="Fatal error" error="no matching files"
2 changes: 1 addition & 1 deletion cmd/pint/tests/0003_lint_workdir.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ rules/0003.yaml:40: job label is required and should be preserved when aggregati
expr: sum(byinstance) by(instance)

level=info msg="Problems found" Fatal=1 Warning=12
level=fatal msg="Fatal error" error="problems found"
level=fatal msg="Fatal error" error="problems found"
-- rules/0001.yml --
- record: colo_job:fl_cf_html_bytes_in:rate10m
expr: sum(rate(fl_cf_html_bytes_in[10m])) WITHOUT (colo_id, instance, node_type, region, node_status, job, colo_name)
Expand Down
4 changes: 2 additions & 2 deletions cmd/pint/tests/0004_fail_invalid_yaml.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ pint.error lint rules
cmp stderr stderr.txt

-- stderr.txt --
level=error msg="Failed to parse file content" error="yaml: line 4: did not find expected key" path=rules/bad.yaml
level=error msg="Failed to parse file content" error="yaml: line 4: did not find expected key" path=rules/bad.yaml
level=info msg="File parsed" path=rules/ok.yml rules=1
rules/bad.yaml:4: did not find expected key (pint/parse)

Expand All @@ -12,7 +12,7 @@ rules/ok.yml:2: syntax error: unclosed left bracket (promql/syntax)
expr: sum(foo[5m)

level=info msg="Problems found" Fatal=2
level=fatal msg="Fatal error" error="problems found"
level=fatal msg="Fatal error" error="problems found"
-- rules/ok.yml --
- record: sum:missing
expr: sum(foo[5m)
Expand Down
2 changes: 1 addition & 1 deletion cmd/pint/tests/0006_rr_labels.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ rules/0001.yml:5: incomplete rule, no alert or record key (pint/parse)
- expr: sum(foo)

level=info msg="Problems found" Fatal=1
level=fatal msg="Fatal error" error="problems found"
level=fatal msg="Fatal error" error="problems found"
-- rules/0001.yml --
- record: "colo:test1"
expr: sum(foo) without(job)
Expand Down
2 changes: 1 addition & 1 deletion cmd/pint/tests/0007_alerts.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ rules/0002.yml:12: using .Value in labels will generate a new alert on every val
val: '{{ .Value|humanizeDuration }}'

level=info msg="Problems found" Bug=5 Fatal=4 Warning=4
level=fatal msg="Fatal error" error="problems found"
level=fatal msg="Fatal error" error="problems found"
-- rules/0001.yml --
- alert: Always
expr: up
Expand Down
2 changes: 1 addition & 1 deletion cmd/pint/tests/0008_recording_rule_prometheus.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ rules/0001.yml:5: job label is required and should be preserved when aggregating
expr: sum by (instance) (http_inprogress_requests)

level=info msg="Problems found" Bug=1 Warning=1
level=fatal msg="Fatal error" error="problems found"
level=fatal msg="Fatal error" error="problems found"
-- rules/0001.yml --
groups:
- name: example
Expand Down
2 changes: 1 addition & 1 deletion cmd/pint/tests/0009_alerting_rule_prometheus.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ rules/0001.yml:19-21: link annotation is required (alerts/annotation)
description: "{{ $labels.instance }} has a median request latency above 1s (current value: {{ $value }}s)"

level=info msg="Problems found" Bug=2 Warning=2
level=fatal msg="Fatal error" error="problems found"
level=fatal msg="Fatal error" error="problems found"
-- rules/0001.yml --
groups:
- name: example
Expand Down
4 changes: 2 additions & 2 deletions cmd/pint/tests/0010_syntax_check.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ pint.error lint rules
cmp stderr stderr.txt

-- stderr.txt --
level=error msg="Failed to parse file content" error="yaml: line 6: did not find expected '-' indicator" path=rules/1.yaml
level=error msg="Failed to parse file content" error="yaml: line 6: did not find expected '-' indicator" path=rules/1.yaml
rules/1.yaml:6: did not find expected '-' indicator (pint/parse)


level=info msg="Problems found" Fatal=1
level=fatal msg="Fatal error" error="problems found"
level=fatal msg="Fatal error" error="problems found"
-- rules/1.yaml --
- alert: Good
expr: up == 0
Expand Down
2 changes: 1 addition & 1 deletion cmd/pint/tests/0011_ignore_rules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ rules/1.yaml:33: job label is required and should be preserved when aggregating
expr: sum(errors_total) without(job)

level=info msg="Problems found" Fatal=2 Warning=3
level=fatal msg="Fatal error" error="problems found"
level=fatal msg="Fatal error" error="problems found"
-- rules/1.yaml --
- record: disabled
expr: sum(errors_total) by ) # pint disable promql/syntax
Expand Down
2 changes: 1 addition & 1 deletion cmd/pint/tests/0013_issue49_1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ cmp stderr stderr.txt

-- stderr.txt --
level=info msg="Loading configuration file" path=not_existed_config.hcl
level=fatal msg="Fatal error" error="failed to load config file \"not_existed_config.hcl\": <nil>: Configuration file not found; The configuration file not_existed_config.hcl does not exist."
level=fatal msg="Fatal error" error="failed to load config file \"not_existed_config.hcl\": <nil>: Configuration file not found; The configuration file not_existed_config.hcl does not exist."
2 changes: 1 addition & 1 deletion cmd/pint/tests/0017_issue69.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4230,7 +4230,7 @@ rules/template.yml:4-5: severity label is required (rule/label)
- alert: Test Alert 2
expr: up == 0

level=fatal msg="Fatal error" error="problems found"
level=fatal msg="Fatal error" error="problems found"
-- copy.sh --
for I in `seq 1 263` ; do cp rules/template.yml rules/$I.yml ; done

Expand Down
2 changes: 1 addition & 1 deletion cmd/pint/tests/0021_ignore_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cmp stderr stderr.txt

-- stderr.txt --
level=info msg="Loading configuration file" path=.pint.hcl
level=fatal msg="Fatal error" error="failed to load config file \".pint.hcl\": ignore block must have at least one condition"
level=fatal msg="Fatal error" error="failed to load config file \".pint.hcl\": ignore block must have at least one condition"
-- rules/0001.yml --
- record: "colo:recording"
expr: sum(foo) without(job)
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
github.com/prometheus/common v0.32.1
github.com/prometheus/prometheus v1.8.2-0.20211214150951-52c693a63be1
github.com/rogpeppe/go-internal v1.8.1
github.com/rs/zerolog v1.26.0
github.com/rs/zerolog v1.26.1
github.com/stretchr/testify v1.7.0
github.com/urfave/cli/v2 v2.3.0
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8
Expand Down Expand Up @@ -60,7 +60,7 @@ require (
github.com/zclconf/go-cty v1.10.0 // indirect
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/goleak v1.1.12 // indirect
golang.org/x/crypto v0.0.0-20211209193657-4570a0811e8b // indirect
golang.org/x/crypto v0.0.0-20211215165025-cf75a172585e // indirect
golang.org/x/net v0.0.0-20211215060638-4ddde0e984e9 // indirect
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
golang.org/x/sys v0.0.0-20211214234402-4825e8c3871d // indirect
Expand Down
9 changes: 4 additions & 5 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1238,8 +1238,8 @@ github.com/rogpeppe/go-internal v1.8.1/go.mod h1:JeRgkft04UBgHMgCIwADu4Pn6Mtm5d4
github.com/rs/cors v1.6.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU=
github.com/rs/cors v1.8.0/go.mod h1:EBwu+T5AvHOcXwvZIkQFjUN6s8Czyqw12GL/Y0tUyRM=
github.com/rs/xid v1.3.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg=
github.com/rs/zerolog v1.26.0 h1:ORM4ibhEZeTeQlCojCK2kPz1ogAY4bGs4tD+SaAdGaE=
github.com/rs/zerolog v1.26.0/go.mod h1:yBiM87lvSqX8h0Ww4sdzNSkVYZ8dL2xjZJG1lAuGZEo=
github.com/rs/zerolog v1.26.1 h1:/ihwxqH+4z8UxyI70wM1z9yCvkWcfz/a3mj48k/Zngc=
github.com/rs/zerolog v1.26.1/go.mod h1:/wSSJWX7lVrsOwlbyTRSOJvqRlc+WjWlfes+CiJ+tmc=
github.com/russross/blackfriday v1.5.2 h1:HyvC0ARfnZBqnXwABFeSZHpKvJHJJfPz81GNueLj0oo=
github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g=
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
Expand Down Expand Up @@ -1487,8 +1487,8 @@ golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83/go.mod h1:jdWPYTVW3xRLrWP
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4=
golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.0.0-20211209193657-4570a0811e8b h1:QAqMVf3pSa6eeTsuklijukjXBlj7Es2QQplab+/RbQ4=
golang.org/x/crypto v0.0.0-20211209193657-4570a0811e8b/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/crypto v0.0.0-20211215165025-cf75a172585e h1:1SzTfNOXwIS2oWiMF+6qu0OUDKb0dauo6MoDUQyu+yU=
golang.org/x/crypto v0.0.0-20211215165025-cf75a172585e/go.mod h1:P+XmwS30IXTQdn5tA2iutPOUgjI07+tq3H3K9MVA1s8=
golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
Expand Down Expand Up @@ -1598,7 +1598,6 @@ golang.org/x/net v0.0.0-20210614182718-04defd469f4e/go.mod h1:9nx3DQGgdP8bBQD5qx
golang.org/x/net v0.0.0-20210726213435-c6fcb2dbf985/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20211123203042-d83791d6bcd9/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20211209124913-491a49abca63/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20211215060638-4ddde0e984e9 h1:kmreh1vGI63l2FxOAYS3Yv6ATsi7lSTuwNSVbGfJV9I=
Expand Down

0 comments on commit 716d493

Please sign in to comment.