diff --git a/image.go b/image.go index cf8b73613..8eaf3d264 100644 --- a/image.go +++ b/image.go @@ -86,7 +86,7 @@ func (i *image) IsUnpacked(ctx context.Context, snapshotterName string) (bool, e } func (i *image) Unpack(ctx context.Context, snapshotterName string) error { - ctx, done, err := i.client.withLease(ctx) + ctx, done, err := i.client.WithLease(ctx) if err != nil { return err }