Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.59
version: v1.64.8

coverage:
needs: [lint]
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ htmlcov:

lint:
$(info INFO: Starting build $@)
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.59
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.64.8
golangci-lint run --timeout 5m $(pkgs) || true

vet:
Expand Down
2 changes: 1 addition & 1 deletion outputs/outputs.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ func IsValidFormat(f string) bool {

func GetOutputer(name string) (Outputer, error) {
if _, ok := outputers[name]; !ok {
return nil, fmt.Errorf("bad output format: " + name)
return nil, fmt.Errorf("bad output format: %v", name)
}
return outputers[name], nil
}
Expand Down
2 changes: 1 addition & 1 deletion outputs/prometheus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ func TestPrometheusOutput(t *testing.T) {
assert.Equal(t, 0, exitCode)

output := buf.String()
t.Logf(output)
t.Logf("%v", output)
for _, metric := range testCase.expectedMetrics {
assert.Contains(t, output, metric)
}
Expand Down