Merge pull request #1809 from Random-Liu/fix-build

fix build for WithLease
This commit is contained in:
Michael Crosby
2017-11-27 13:38:09 -05:00
committed by GitHub

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
}