make consistent for checkpoint path
Signed-off-by: Ye Sijun <junnplus@gmail.com>
This commit is contained in:
parent
d394e00c7e
commit
6d69aca561
@ -553,7 +553,7 @@ func (l *local) Checkpoint(ctx context.Context, r *api.CheckpointTaskRequest, _
|
|||||||
checkpointImageExists := false
|
checkpointImageExists := false
|
||||||
if image == "" {
|
if image == "" {
|
||||||
checkpointImageExists = true
|
checkpointImageExists = true
|
||||||
image, err = os.MkdirTemp(os.Getenv("XDG_RUNTIME_DIR"), "ctd-checkpoint")
|
image, err = os.MkdirTemp(os.Getenv("XDG_RUNTIME_DIR"), "ctrd-checkpoint")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errdefs.ToGRPC(err)
|
return nil, errdefs.ToGRPC(err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user