Skip to content

Commit

Permalink
Merge pull request #1419 from giuseppe/rename-annotation
Browse files Browse the repository at this point in the history
chunked: use io.github.containers
  • Loading branch information
rhatdan authored Nov 4, 2022
2 parents 5472e81 + f98fa39 commit 74e3743
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/chunked/compression_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func readEstargzChunkedManifest(blobStream ImageSourceSeekable, blobSize int64,

// readZstdChunkedManifest reads the zstd:chunked manifest from the seekable stream blobStream. The blob total size must
// be specified.
// This function uses the io.containers.zstd-chunked. annotations when specified.
// This function uses the io.github.containers.zstd-chunked. annotations when specified.
func readZstdChunkedManifest(blobStream ImageSourceSeekable, blobSize int64, annotations map[string]string) ([]byte, int64, error) {
footerSize := int64(internal.FooterSizeSupported)
if blobSize <= footerSize {
Expand Down
4 changes: 2 additions & 2 deletions pkg/chunked/internal/compression.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ func GetType(t byte) (string, error) {
}

const (
ManifestChecksumKey = "io.containers.zstd-chunked.manifest-checksum"
ManifestInfoKey = "io.containers.zstd-chunked.manifest-position"
ManifestChecksumKey = "io.github.containers.zstd-chunked.manifest-checksum"
ManifestInfoKey = "io.github.containers.zstd-chunked.manifest-position"

// ManifestTypeCRFS is a manifest file compatible with the CRFS TOC file.
ManifestTypeCRFS = 1
Expand Down

0 comments on commit 74e3743

Please sign in to comment.