feat: replace docker client code with oras - take 2 #4095
lint_and_test.yaml
on: pull_request
Run tests
8m 34s
Lint Golang
3m 28s
Annotations
6 errors
Lint Golang:
api/oci/extensions/repositories/ocireg/repository.go#L147
commentFormatting: put a space between `//` and comment text (gocritic)
|
Lint Golang:
api/tech/regclient/delayed_reader.go#L29
unnecessary trailing newline (whitespace)
|
Lint Golang:
api/tech/regclient/client.go#L150
SA5001: should check error returned from c.rc.BlobHead() before deferring blob.Close() (staticcheck)
|
Lint Golang
Process completed with exit code 2.
|
Run tests:
api/tech/regclient/client_test.go#L11
cannot use config.HostNew() (value of type *config.Host) as []config.Host value in struct literal
|
Run tests
Process completed with exit code 2.
|