Skip to content

MediaTypeArtifactManifest not found in v2 #495

@yuseferi

Description

@yuseferi

Hi there,
After updating to V2, linter failed with

    golangci-lint run ./...        
WARN [runner] Can't run linter goanalysis_metalinter: buildir: failed to load package descriptor: could not load export data: no export data for "oras.land/oras-go/v2/internal/descriptor" 
ERRO Running error: 1 error occurred:
        * can't run linter goanalysis_metalinter: buildir: failed to load package descriptor: could not load export data: no export data for "oras.land/oras-go/v2/internal/descriptor"

after dig into the code, I noticed this const ( MediaTypeArtifactManifest) has not been set in the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions