feat: on_init scheduler #52
Annotations
10 errors
core/task/command.go#L74
Error return value of `proc.Start` is not checked (errcheck)
|
core/task/command.go#L64
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
|
core/task/get.go#L65
response body must be closed (bodyclose)
|
core/task/post.go#L69
response body must be closed (bodyclose)
|
config/validators.go#L26
S1002: should omit comparison to bool constant, can be simplified to `c.Disabled` (gosimple)
|
config/validators.go#L113
S1002: should omit comparison to bool constant, can be simplified to `s.OnInit` (gosimple)
|
core/task/command.go#L76
S1030: should use res.String() instead of string(res.Bytes()) (gosimple)
|
core/task/command.go#L81
naked return in func `Execute` with 39 lines of code (nakedret)
|
core/task/get.go#L59
naked return in func `Execute` with 49 lines of code (nakedret)
|
core/task/get.go#L83
naked return in func `Execute` with 49 lines of code (nakedret)
|
This job failed
Loading