mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
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