Remove reference to WithExit in README
This function was removed from the containerd package in da1b5470cd
Signed-off-by: Felix Abecassis <fabecassis@nvidia.com>
This commit is contained in:
parent
985920c513
commit
e22f19618c
@ -166,7 +166,7 @@ If you have [criu](https://criu.org/Main_Page) installed on your machine you can
|
|||||||
|
|
||||||
```go
|
```go
|
||||||
// checkpoint the task then push it to a registry
|
// 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)
|
err := client.Push(context, "myregistry/checkpoints/redis:master", checkpoint)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user