Skip to content

fix: set metadata when not provided #6309

fix: set metadata when not provided

fix: set metadata when not provided #6309

Triggered via pull request September 19, 2024 16:44
Status Success
Total duration 2m 38s
Artifacts

reviewdog.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 2 warnings
diff-review: mock/server/authentication.go#L84
string `error` has 4 occurrences, make it a constant (goconst)
diff-review: database/types/build.go#L375
G115: integer overflow conversion int -> int32 (gosec)
diff-review: database/types/build.go#L376
G115: integer overflow conversion int -> int32 (gosec)
diff-review: database/types/repo.go#L336
G115: integer overflow conversion int -> int32 (gosec)
diff-review: database/types/settings.go#L134
G115: integer overflow conversion int64 -> uint64 (gosec)
diff-review: database/types/settings.go#L205
G115: integer overflow conversion uint64 -> int64 (gosec)
diff-review: secret/vault/delete.go#L16
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
diff-review: secret/vault/create.go#L18
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
diff-review: secret/vault/get.go#L18
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
diff-review: secret/vault/refresh_test.go#L45
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
full-review: mock/server/authentication.go#L84
string `error` has 4 occurrences, make it a constant (goconst)
full-review: database/types/build.go#L375
G115: integer overflow conversion int -> int32 (gosec)
full-review: database/types/build.go#L376
G115: integer overflow conversion int -> int32 (gosec)
full-review: database/types/repo.go#L336
G115: integer overflow conversion int -> int32 (gosec)
full-review: database/types/settings.go#L134
G115: integer overflow conversion int64 -> uint64 (gosec)
full-review: database/types/settings.go#L205
G115: integer overflow conversion uint64 -> int64 (gosec)
full-review: secret/vault/count.go#L17
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
full-review: secret/vault/delete.go#L16
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
full-review: secret/vault/get.go#L18
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
full-review: secret/vault/refresh_test.go#L45
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
diff-review
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
full-review
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2