Skip to content

refactor: status, metadata and content handlers for manifest index commands #1771

refactor: status, metadata and content handlers for manifest index commands

refactor: status, metadata and content handlers for manifest index commands #1771

Triggered via pull request September 24, 2024 08:55
Status Failure
Total duration 43s
Artifacts

golangci-lint.yml

on: pull_request
Matrix: lint
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint (1.23): cmd/oras/root/manifest/index/create.go#L143
Error return value of `displayMetadata.OnCompleted` is not checked (errcheck)
lint (1.23): cmd/oras/root/manifest/index/update.go#L145
Error return value of `displayStatus.OnIndexUpdated` is not checked (errcheck)
lint (1.23): cmd/oras/root/manifest/index/update.go#L153
Error return value of `displayMetadata.OnCompleted` is not checked (errcheck)
lint (1.23): cmd/oras/root/manifest/index/update.go#L160
Error return value of `handler.OnIndexFetching` is not checked (errcheck)
lint (1.23): cmd/oras/root/manifest/index/update.go#L168
Error return value of `handler.OnIndexFetched` is not checked (errcheck)
lint (1.23): cmd/oras/root/manifest/index/update.go#L178
Error return value of `handler.OnManifestFetching` is not checked (errcheck)
lint (1.23): cmd/oras/root/manifest/index/update.go#L186
Error return value of `handler.OnManifestFetched` is not checked (errcheck)
lint (1.23): cmd/oras/root/manifest/index/update.go#L194
Error return value of `handler.OnManifestAdded` is not checked (errcheck)
lint (1.23): cmd/oras/root/manifest/index/update.go#L201
Error return value of `handler.OnIndexFetching` is not checked (errcheck)
lint (1.23): cmd/oras/root/manifest/index/update.go#L209
Error return value of `handler.OnIndexFetched` is not checked (errcheck)