Skip to content

Commit

Permalink
cmd: use PrepareStagedLayer
Browse files Browse the repository at this point in the history
Signed-off-by: Giuseppe Scrivano <[email protected]>
  • Loading branch information
giuseppe committed Sep 16, 2024
1 parent 6bee109 commit ed6b4c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/containers-storage/diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func applyDiffUsingStagingDirectory(flags *mflag.FlagSet, action string, m stora
}

var options graphdriver.ApplyDiffWithDifferOpts
out, err := m.ApplyDiffWithDiffer("", &options, differ)
out, err := m.PrepareStagedLayer(&options, differ)
if err != nil {
return 1, err
}
Expand Down

0 comments on commit ed6b4c1

Please sign in to comment.