Skip to content

Commit 79153b6

Browse files
committed
revert the change here as it is not needed.
1 parent ab92e64 commit 79153b6

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

pkg/build/layers.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,7 @@ func (bc *Context) buildLayers(ctx context.Context) ([]v1.Layer, error) {
8585
}
8686

8787
// Then partition that single fs.FS into multiple layers based on our layering strategy.
88-
layers, err := splitLayers(ctx, bc.fs, groups, pkgToDiff, bc.o.TempDir())
89-
if err != nil {
90-
return nil, err
91-
}
92-
93-
return layers, nil
88+
return splitLayers(ctx, bc.fs, groups, pkgToDiff, bc.o.TempDir())
9489
}
9590

9691
func replacesGroup(rep string, g *group) (bool, error) {

0 commit comments

Comments
 (0)