Image: rename variable that shadowed import
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
8b66a752c9
commit
54658a1152
4
image.go
4
image.go
@ -423,12 +423,12 @@ func (i *image) Unpack(ctx context.Context, snapshotterName string, opts ...Unpa
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
rootfs := identity.ChainID(chain).String()
|
rootFS := identity.ChainID(chain).String()
|
||||||
|
|
||||||
cinfo := content.Info{
|
cinfo := content.Info{
|
||||||
Digest: desc.Digest,
|
Digest: desc.Digest,
|
||||||
Labels: map[string]string{
|
Labels: map[string]string{
|
||||||
fmt.Sprintf("containerd.io/gc.ref.snapshot.%s", snapshotterName): rootfs,
|
fmt.Sprintf("containerd.io/gc.ref.snapshot.%s", snapshotterName): rootFS,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user