We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bb8cf1 commit 12ef13fCopy full SHA for 12ef13f
.golangci.yml
@@ -3,7 +3,6 @@ linters:
3
# TODO remove this rule.
4
disable:
5
- errcheck
6
- - ineffassign
7
- staticcheck
8
linters-settings:
9
govet:
check-elasticsearch/lib/check_elasticsearch.go
@@ -57,7 +57,7 @@ func run(args []string) *checkers.Checker {
57
var health healthStat
58
dec.Decode(&health)
59
60
- checkSt := checkers.UNKNOWN
+ var checkSt checkers.Status
61
switch health.Status {
62
case "green":
63
checkSt = checkers.OK
0 commit comments