Fix build.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu 2017-11-27 18:27:20 +00:00
parent a7ade66815
commit 33c95bb418

View File

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