Commit 3b82a55
committed
Fix gometalinter issue Errors unhandled
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 11 parent 38a6d0d commit 3b82a55
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
0 commit comments