Return json object on /scripts endpoint as documented in OpenAPI #34789
Annotations
5 errors and 1 warning
Run golangci-lint:
engine/access/rest/routes/scripts_test.go#L64
S1025: the argument's underlying type is a slice of bytes, should use a simple conversion instead of fmt.Sprintf (gosimple)
|
Run golangci-lint:
engine/access/rest/routes/scripts_test.go#L86
S1025: the argument's underlying type is a slice of bytes, should use a simple conversion instead of fmt.Sprintf (gosimple)
|
Run golangci-lint:
engine/access/rest/routes/scripts_test.go#L108
S1025: the argument's underlying type is a slice of bytes, should use a simple conversion instead of fmt.Sprintf (gosimple)
|
Run golangci-lint:
engine/access/rest/routes/scripts.go#L32
ineffectual assignment to err (ineffassign)
|
Run golangci-lint
issues found
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading