Don't append the container id to custom directory checkpoints. Fixes #34601.
Signed-off-by: Ross Boucher <rboucher@gmail.com>
This commit is contained in:
parent
7ef9266ba0
commit
e51aec9926
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue