Skip to content

Commit

Permalink
Merge pull request #124 from AkihiroSuda/dev
Browse files Browse the repository at this point in the history
Fix printing errors
  • Loading branch information
AkihiroSuda committed Aug 16, 2024
2 parents 73d5147 + cdfcede commit 27dccec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/diff/diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -739,11 +739,11 @@ func (d *differ) loadLayer(ctx context.Context, node *EventTreeNode, inputIdx in
func (d *differ) diffLayerWithTarReader(ctx context.Context, node *EventTreeNode, in [2]EventInput, tr0, tr1 tarReader) error {
l0, err := d.loadLayer(ctx, node, 0, tr0)
if err != nil {
return errors.New("failed to load layer (input-0)")
return fmt.Errorf("failed to load layer (input-0): %w", err)
}
l1, err := d.loadLayer(ctx, node, 1, tr1)
if err != nil {
return errors.New("failed to load layer (input-1)")
return fmt.Errorf("failed to load layer (input-1): %w", err)
}
defer func() {
for _, finalizer := range append(l0.finalizers, l1.finalizers...) {
Expand Down

0 comments on commit 27dccec

Please sign in to comment.