1
0
mirror of https://github.com/coreos/prometheus-operator.git synced 2026-02-05 06:45:27 +01:00

pkg/prometheus: fix govet errors (#3916)

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
Simon Pasquier
2021-03-18 09:49:30 +01:00
committed by GitHub
parent b3b018bca5
commit 5a24128837
2 changed files with 4 additions and 3 deletions

View File

@@ -4,4 +4,5 @@ run:
linters:
disable-all: true
enable:
- unused
- govet
- unused

View File

@@ -1001,8 +1001,8 @@ func TestK8SSDConfigGeneration(t *testing.T) {
},
map[string]assets.BasicAuthCredentials{
"apiserver": {
"foo",
"bar",
Username: "foo",
Password: "bar",
},
},
`kubernetes_sd_configs: