Skip to content

Commit ba1a626

Browse files
committed
Address PR comments in commiter
Signed-off-by: Jack Decker <[email protected]>
1 parent 1df0a91 commit ba1a626

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/nydusify/pkg/committer/commiter.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ func (cm *Committer) pushManifest(
630630
}
631631

632632
// When using S3 backend, skip adding new blob DiffIDs since they won't be in manifest
633-
if opt.BackendType != "s3" {
633+
if opt.BackendType != "registry" {
634634
for idx := range mountBlobs {
635635
mountBlob := mountBlobs[idx]
636636
config.RootFS.DiffIDs = append(config.RootFS.DiffIDs, mountBlob.Desc.Digest)
@@ -721,7 +721,7 @@ func (cm *Committer) pushManifest(
721721

722722
// When using S3 backend, skip adding new blobs to manifest since they're referenced via URLs
723723
// and Nydus only needs the bootstrap layer to function
724-
if opt.BackendType != "s3" {
724+
if opt.BackendType != "registry" {
725725
for idx := range mountBlobs {
726726
mountBlob := mountBlobs[idx]
727727
layers = append(layers, mountBlob.Desc)

0 commit comments

Comments
 (0)