Skip to content

Implement env parsing from env vars when config file is not passed #12

Implement env parsing from env vars when config file is not passed

Implement env parsing from env vars when config file is not passed #12

Triggered via pull request May 30, 2024 19:47
Status Success
Total duration 48s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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)