Implement env parsing from env vars when config file is not passed #12
Annotations
10 errors
Go Lint:
cmd/event-collector/main_test.go#L16
Error return value of `os.Remove` is not checked (errcheck)
|
Go Lint:
cmd/event-collector/main_test.go#L28
Error return value of `os.Setenv` is not checked (errcheck)
|
Go Lint:
cmd/event-collector/main_test.go#L44
Error return value of `os.Setenv` is not checked (errcheck)
|
Go Lint:
cmd/event-collector/main_test.go#L45
Error return value of `os.Setenv` is not checked (errcheck)
|
Go Lint:
internal/ykclient/api_handlers.go#L43
G107: Potential HTTP request made with variable url (gosec)
|
Go Lint:
internal/ykclient/api_handlers.go#L73
G107: Potential HTTP request made with variable url (gosec)
|
Go Lint:
internal/ykclient/api_handlers.go#L109
G107: Potential HTTP request made with variable url (gosec)
|
Go Lint:
internal/webservice/webservice.go#L24
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
|
Go Lint:
internal/ykclient/client.go#L69
avoid direct access to proto field ev.Type, use ev.GetType() instead (protogetter)
|
Go Lint:
internal/ykclient/client.go#L72
avoid direct access to proto field ev.Type, use ev.GetType() instead (protogetter)
|