Image: rename variable that shadowed import

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2023-05-30 12:44:54 +02:00
parent 8b66a752c9
commit 54658a1152
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C

View File

@ -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,
}, },
} }