Skip to content

Commit 5840ecc

Browse files
authored
Merge pull request #3056 from ehotinger/ehotinger/snapshotter-docs
Update the snapshotter docs to refer to the snapshots package
2 parents c24a743 + e13a4b6 commit 5840ecc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

snapshots/snapshotter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ func (u *Usage) Add(other Usage) {
163163
// key and descending from the empty parent "". To prevent our layer from being
164164
// garbage collected during unpacking, we add the `containerd.io/gc.root` label:
165165
//
166-
// noGcOpt := snapshotter.WithLabels(map[string]string{
166+
// noGcOpt := snapshots.WithLabels(map[string]string{
167167
// "containerd.io/gc.root": time.Now().UTC().Format(time.RFC3339),
168168
// })
169169
// mounts, err := snapshotter.Prepare(ctx, key, "", noGcOpt)

0 commit comments

Comments
 (0)