Skip to content

Commit 83cae52

Browse files
authored
Merge pull request #170 from prometheus-community/superq/v0.2.0
Release v0.2.0
2 parents 6d34c4c + eb5bc8f commit 83cae52

File tree

4 files changed

+24
-11
lines changed

4 files changed

+24
-11
lines changed

Diff for: .golangci.yml

+18-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
11
---
2+
linters:
3+
enable:
4+
- misspell
5+
- revive
6+
27
linters-settings:
38
errcheck:
4-
exclude: scripts/errcheck_excludes.txt
9+
exclude-functions:
10+
# Don't flag lines such as "io.Copy(io.Discard, resp.Body)".
11+
- io.Copy
12+
# Used in HTTP handlers, any error is handled by the server itself.
13+
- (net/http.ResponseWriter).Write
14+
# Never check for logger errors.
15+
- (github.com/go-kit/log.Logger).Log
16+
revive:
17+
rules:
18+
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unused-parameter
19+
- name: unused-parameter
20+
severity: warning
21+
disabled: true

Diff for: CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
## master / unreleased
22

3-
* [BUGFIX] /clients endpoint return application/json as Content-Type
3+
## 0.2.0 / 2024-03-28
4+
5+
* [FEATURE] Implement flags to control retry delays #83
6+
* [ENHANCEMENT] Add scrape_id to error log #120
7+
* [BUGFIX] /clients endpoint return application/json as Content-Type #121
48

59
## 0.1.0 / 2019-07-29
610

Diff for: VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.0
1+
0.2.0

Diff for: scripts/errcheck_excludes.txt

-8
This file was deleted.

0 commit comments

Comments
 (0)