Skip to content

Commit 3b82a55

Browse files
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 1
1 parent 38a6d0d commit 3b82a55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gometalinter.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"Cyclo": 40,
33
"Deadline": "6m",
44
"EnableGC": true,
5-
"Exclude": ["TLS InsecureSkipVerify set true.", "Potential file inclusion via variable"],
5+
"Exclude": ["TLS InsecureSkipVerify set true.", "Potential file inclusion via variable", "Errors unhandled.,LOW,HIGH"],
66
"Sort": ["linter", "severity", "path", "line"],
77
"Vendor": true
88
}

0 commit comments

Comments
 (0)