Skip to content

feat: update existing index (index update) #1701

feat: update existing index (index update)

feat: update existing index (index update) #1701

Triggered via pull request September 6, 2024 02:41
Status Failure
Total duration 43s
Artifacts

golangci-lint.yml

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

Annotations

10 errors and 1 warning
lint (1.23): internal/descriptor/descriptor.go#L25
syntax error: non-declaration statement outside function body (typecheck)
lint (1.23): internal/descriptor/descriptor.go#L25
expected declaration, found '<<' (typecheck)
lint (1.23): cmd/oras/root/manifest/index/create.go#L39
could not import oras.land/oras/internal/descriptor (-: # oras.land/oras/internal/descriptor
lint (1.23): internal/descriptor/descriptor.go#L25
syntax error: non-declaration statement outside function body) (typecheck)
lint (1.23): cmd/oras/root/manifest/index/create.go#L78
opts.RawReference undefined (type createOptions has no field or method RawReference) (typecheck)
lint (1.23): cmd/oras/root/manifest/index/create.go#L94
opts.NewTarget undefined (type createOptions has no field or method NewTarget) (typecheck)
lint (1.23): cmd/oras/root/manifest/index/create.go#L111
opts.Println undefined (type createOptions has no field or method Println) (typecheck)
lint (1.23): cmd/oras/root/manifest/index/create.go#L112
opts.Reference undefined (type createOptions has no field or method Reference) (typecheck)
lint (1.23): cmd/oras/root/manifest/index/create.go#L118
opts.Println undefined (type createOptions has no field or method Println) (typecheck)
lint (1.23): cmd/oras/root/manifest/index/create.go#L126
opts.Println undefined (type createOptions has no field or method Println) (typecheck)
lint (1.23)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2