Skip to content

Commit 974c9de

Browse files
prombotSuperQ
andauthored
Synchronize common files from prometheus/prometheus (#1217)
* Update common Prometheus files Signed-off-by: prombot <prometheus-team@googlegroups.com> * Fix linting issues. Signed-off-by: SuperQ <superq@gmail.com> --------- Signed-off-by: prombot <prometheus-team@googlegroups.com> Signed-off-by: SuperQ <superq@gmail.com> Co-authored-by: SuperQ <superq@gmail.com>
1 parent 4372058 commit 974c9de

File tree

4 files changed

+1
-4
lines changed

4 files changed

+1
-4
lines changed

Makefile.common

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ PROMU_URL := https://github.com/prometheus/promu/releases/download/v$(PROMU_
6161
SKIP_GOLANGCI_LINT :=
6262
GOLANGCI_LINT :=
6363
GOLANGCI_LINT_OPTS ?=
64-
GOLANGCI_LINT_VERSION ?= v2.4.0
64+
GOLANGCI_LINT_VERSION ?= v2.6.0
6565
GOLANGCI_FMT_OPTS ?=
6666
# golangci-lint only supports linux, darwin and windows platforms on i386/amd64/arm64.
6767
# windows isn't included here because of the path separator being different.

cmd/postgres_exporter/pg_setting_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
// limitations under the License.
1313

1414
//go:build !integration
15-
// +build !integration
1615

1716
package main
1817

cmd/postgres_exporter/postgres_exporter_integration_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
// a lot of additional work to keep the external docker environment they require
1616
// working.
1717
//go:build integration
18-
// +build integration
1918

2019
package main
2120

cmd/postgres_exporter/postgres_exporter_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
// limitations under the License.
1313

1414
//go:build !integration
15-
// +build !integration
1615

1716
package main
1817

0 commit comments

Comments
 (0)