Update staticcheck ignores

Remove things that now longer apply, ignore new things
that are acceptable.
This commit is contained in:
Brian Brazil 2017-10-09 17:34:48 +01:00
parent cc5499fcad
commit 5ee07b3b3a
1 changed files with 3 additions and 2 deletions

View File

@ -29,9 +29,10 @@ endif
STATICCHECK_IGNORE = \
github.com/prometheus/prometheus/discovery/kubernetes/node.go:SA1019 \
github.com/prometheus/prometheus/documentation/examples/remote_storage/remote_storage_adapter/main.go:SA1019 \
github.com/prometheus/prometheus/storage/local/codable/codable.go:SA6002 \
github.com/prometheus/prometheus/storage/local/persistence.go:SA6002 \
github.com/prometheus/prometheus/storage/remote/queue_manager.go:SA1015 \
github.com/prometheus/prometheus/pkg/textparse/lex.l.go:SA4006 \
github.com/prometheus/prometheus/pkg/pool/pool.go:SA6002 \
github.com/prometheus/prometheus/promql/engine.go:SA6002 \
github.com/prometheus/prometheus/web/web.go:SA1019
all: format staticcheck build test