Skip to content

Commit

Permalink
fmt fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanotorresi committed Apr 7, 2020
1 parent 1a00e72 commit 2d9e04d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ REPOSITORY ?= SUSE/sap_host_exporter
# the Go archs we crosscompile to
ARCHS ?= amd64 arm64 ppc64le s390x

default: clean download mod-tidy generate fmt vet-check test build
default: clean download mod-tidy generate fmt test build

download:
go mod download
Expand Down Expand Up @@ -47,7 +47,7 @@ fmt-check:
generate:
go generate ./...

test: download
test: download vet-check fmt-check
go test -v ./...

coverage:
Expand Down
1 change: 0 additions & 1 deletion collector/default_collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ func RecordConcurrently(recorders []func(ch chan<- prometheus.Metric) error, ch
close(results)
}()


// Scroll the results channel and store potential errors in an array. This will block until the channel is closed.
for err := range results {
if err != nil {
Expand Down

0 comments on commit 2d9e04d

Please sign in to comment.