Skip to content

Commit

Permalink
Fix gometalinter issue Errors unhandled
Browse files Browse the repository at this point in the history
See,
$ make gometalinter
>> linting code
collector/cluster_health.go:252::warning: Errors unhandled.,LOW,HIGH (gosec)
collector/cluster_health.go:284::warning: Errors unhandled.,LOW,HIGH (gosec)
collector/indices.go:933::warning: Errors unhandled.,LOW,HIGH (gosec)
collector/indices.go:965::warning: Errors unhandled.,LOW,HIGH (gosec)
collector/nodes.go:1537::warning: Errors unhandled.,LOW,HIGH (gosec)
collector/nodes.go:1567::warning: Errors unhandled.,LOW,HIGH (gosec)
collector/snapshots.go:210::warning: Errors unhandled.,LOW,HIGH (gosec)
collector/snapshots.go:265::warning: Errors unhandled.,LOW,HIGH (gosec)
main.go:53::warning: Errors unhandled.,LOW,HIGH (gosec)
main.go:91::warning: Errors unhandled.,LOW,HIGH (gosec)
main.go:98::warning: Errors unhandled.,LOW,HIGH (gosec)
main.go:104::warning: Errors unhandled.,LOW,HIGH (gosec)
make: *** [gometalinter] Error 1
  • Loading branch information
mjtrangoni committed Nov 8, 2018
1 parent 38a6d0d commit 3b82a55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gometalinter.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"Cyclo": 40,
"Deadline": "6m",
"EnableGC": true,
"Exclude": ["TLS InsecureSkipVerify set true.", "Potential file inclusion via variable"],
"Exclude": ["TLS InsecureSkipVerify set true.", "Potential file inclusion via variable", "Errors unhandled.,LOW,HIGH"],
"Sort": ["linter", "severity", "path", "line"],
"Vendor": true
}

0 comments on commit 3b82a55

Please sign in to comment.