mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
Don't append the container id to custom directory checkpoints. Fixes #34601.
Signed-off-by: Ross Boucher <rboucher@gmail.com> Upstream-commit: e51aec992624fec305176866f3937e0a120cecb8 Component: engine
This commit is contained in:
@@ -22,7 +22,7 @@ func getCheckpointDir(checkDir, checkpointID, ctrName, ctrID, ctrCheckpointDir s
|
||||
var checkpointDir string
|
||||
var err2 error
|
||||
if checkDir != "" {
|
||||
checkpointDir = filepath.Join(checkDir, ctrID, "checkpoints")
|
||||
checkpointDir = checkDir
|
||||
} else {
|
||||
checkpointDir = ctrCheckpointDir
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user