Skip to content

Commit

Permalink
remove descriptor
Browse files Browse the repository at this point in the history
Signed-off-by: Billy Zha <[email protected]>
  • Loading branch information
qweeah committed Dec 20, 2023
1 parent 88d3f4b commit 7728d49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/oras/internal/meta/pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import (
)

type File struct {
Path string `json:"Path"`
Descriptor Descriptor
Path string `json:"Path"`
Descriptor
}

// NewFile creates a new file metadata.
Expand Down
2 changes: 1 addition & 1 deletion cmd/oras/internal/meta/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package meta
import ocispec "github.com/opencontainers/image-spec/specs-go/v1"

type push struct {
Descriptor Descriptor
Descriptor
}

// NewPush creates a new push metadata
Expand Down

0 comments on commit 7728d49

Please sign in to comment.