Merge pull request #2223 from dmcgowan/with-lease-context

lease: pass in context to lease done function in client
This commit is contained in:
Michael Crosby
2018-03-23 10:27:39 -04:00
committed by GitHub
10 changed files with 21 additions and 19 deletions

View File

@@ -82,7 +82,7 @@ func Import(ctx context.Context, client *containerd.Client, reader io.Reader) (_
return nil, err
}
// TODO(random-liu): Fix this after containerd client is fixed (containerd/containerd#2193)
defer done() // nolint: errcheck
defer done(ctx) // nolint: errcheck
cs := client.ContentStore()
is := client.ImageService()