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
commit 70e0c8443f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
}