Switch from pkg/errors to Go 1.13+ error wrapping #5483
ci.yml
on: pull_request
Matrix: lint
build_gcs
0s
build
0s
Annotations
22 errors
lint (windows):
internal/guest/gcserr/errors.go#L111
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
lint (windows):
cmd/containerd-shim-runhcs-v1/service_internal.go#L275
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
lint (windows):
cmd/ncproxy/hcn.go#L168
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
lint (windows):
internal/uvm/vpmem.go#L137
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
lint (windows):
internal/uvm/vpmem.go#L171
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
lint (windows):
internal/uvm/vpmem_mapped.go#L258
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
lint (windows):
internal/uvm/vpmem_mapped.go#L306
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
lint (windows):
internal/guest/commonutils/utilities.go#L14
SA1019: gcserr.WrapHresult is deprecated: use [fmt.Errorf] with %w and [NewHresultError] instead. (staticcheck)
|
lint (windows):
internal/guest/commonutils/utilities.go#L23
SA1019: gcserr.WrapHresult is deprecated: use [fmt.Errorf] with %w and [NewHresultError] instead. (staticcheck)
|
lint (windows):
internal/vm/hcs/boot.go#L25
ST1005: error strings should not be capitalized (stylecheck)
|
lint (linux):
internal/guest/gcserr/errors.go#L111
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
lint (linux):
internal/guest/runtime/runc/container.go#L64
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
lint (linux):
internal/guest/runtime/runc/container.go#L91
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
lint (linux):
internal/guest/runtime/runc/container.go#L104
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
lint (linux):
internal/guest/runtime/runc/container.go#L115
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
lint (linux):
internal/guest/runtime/runc/container.go#L128
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
lint (linux):
internal/guest/runtime/runc/container.go#L139
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
lint (linux):
internal/guest/runtime/runc/container.go#L161
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
lint (linux):
internal/guest/runtime/runc/container.go#L396
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
lint (linux):
internal/guest/runtime/runc/container.go#L444
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
lint (windows, test):
test/cri-containerd/helpers/log.go#L39
ST1005: error strings should not be capitalized (stylecheck)
|
lint (windows, test)
issues found
|