Skip to content

refactor: Successor getting with separation of concerns #1478

refactor: Successor getting with separation of concerns

refactor: Successor getting with separation of concerns #1478

Triggered via pull request July 23, 2024 01:43
Status Failure
Total duration 26s
Artifacts

golangci-lint.yml

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

Annotations

10 errors
lint (1.22): cmd/oras/internal/display/handler.go#L33
could not import oras.land/oras/cmd/oras/internal/display/status (-: # oras.land/oras/cmd/oras/internal/display/status
lint (1.22): cmd/oras/internal/display/status/text.go#L158
undefined: output.PrintSuccessorStatus
lint (1.22): cmd/oras/internal/display/status/text.go#L158
ch.printer.StatusPrinter undefined (type *output.Printer has no field or method StatusPrinter)) (typecheck)
lint (1.22): cmd/oras/internal/display/status/text.go#L158
undefined: output.PrintSuccessorStatus
lint (1.22): cmd/oras/internal/display/status/text.go#L158
ch.printer.StatusPrinter undefined (type *output.Printer has no field or method StatusPrinter) (typecheck)
lint (1.22): cmd/oras/root/cp.go#L22
could not import oras.land/oras/cmd/oras/internal/display/status (-: # oras.land/oras/cmd/oras/internal/display/status
lint (1.22): cmd/oras/internal/display/status/text.go#L158
undefined: output.PrintSuccessorStatus
lint (1.22): cmd/oras/internal/display/status/text.go#L158
ch.printer.StatusPrinter undefined (type *output.Printer has no field or method StatusPrinter)) (typecheck)
lint (1.22): cmd/oras/root/cp.go#L38
`status` redeclared in this block (typecheck)
lint (1.22): cmd/oras/root/cp.go#L42
"oras.land/oras/cmd/oras/internal/output" imported and not used (typecheck)