Skip to content

Add spec v2

Add spec v2 #15

Re-run triggered September 26, 2024 08:28
Status Failure
Total duration 48s
Billable time 2m
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Lint: tools/mdctl/format/parse.go#L20
don't use ALL_CAPS in Go names; use CamelCase (golint)
Lint: tools/mdctl/format/parse.go#L122
`if` block ends with a `return` statement, so drop this `else` and outdent its block (golint)
Lint: tools/mdctl/models/image.go#L27
`verifyBlob` is unused (deadcode)
Lint: tools/mdctl/models/modelpath.go#L27
`realpath` is unused (deadcode)
Lint: tools/mdctl/models/archiver.go#L21
`if` block ends with a `return` statement, so drop this `else` and outdent its block (golint)
Lint: tools/mdctl/models/modelpath.go#L89
func name will be used as models.ModelsDir by other packages, and that stutters; consider calling this Dir (golint)
Lint: tools/mdctl/progress/progress.go#L40
Error return value of `p.render` is not checked (errcheck)
Lint: tools/mdctl/progress/progress.go#L111
Error return value of `p.render` is not checked (errcheck)
Lint: tools/mdctl/registry/client.go#L70
context.Context should be the first parameter of a function (golint)
Lint: tools/mdctl/registry/client.go#L93
context.Context should be the first parameter of a function (golint)