From 33c95bb4189c1263161c7d381ce74c829966ec4e Mon Sep 17 00:00:00 2001 From: Lantao Liu Date: Mon, 27 Nov 2017 18:27:20 +0000 Subject: [PATCH] Fix build. Signed-off-by: Lantao Liu --- image.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }