Merge pull request #2507 from flx42/fix-readme-runtime-v2

Remove reference to WithExit in README
This commit is contained in:
Michael Crosby 2018-07-30 09:57:52 -04:00 committed by GitHub
commit e8f7c2af26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,7 +166,7 @@ If you have [criu](https://criu.org/Main_Page) installed on your machine you can
```go
// checkpoint the task then push it to a registry
checkpoint, err := task.Checkpoint(context, containerd.WithExit)
checkpoint, err := task.Checkpoint(context)
err := client.Push(context, "myregistry/checkpoints/redis:master", checkpoint)