Fix checkpoint ls
Use create=false when calling getCheckpointDir Fix #33263 Signed-off-by: Jacob Wen <jian.w.wen@oracle.com> Upstream-commit: c0d2ec1eb585a31e3d7734aef7acb753644c49c0 Component: engine
This commit is contained in:
@ -103,7 +103,7 @@ func (daemon *Daemon) CheckpointList(name string, config types.CheckpointListOpt
|
||||
return nil, err
|
||||
}
|
||||
|
||||
checkpointDir, err := getCheckpointDir(config.CheckpointDir, "", name, container.ID, container.CheckpointDir(), true)
|
||||
checkpointDir, err := getCheckpointDir(config.CheckpointDir, "", name, container.ID, container.CheckpointDir(), false)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user