Signed-off-by: innovimax <innovimax@gmail.com>
This commit is contained in:
Innovimax 2018-12-20 22:52:54 +01:00 committed by innovimax
parent 92b34ec9c6
commit 31348a2936
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ func getCheckpointDir(checkDir, checkpointID, ctrName, ctrID, ctrCheckpointDir s
} else {
switch {
case err != nil:
err2 = fmt.Errorf("checkpoint %s does not exists for container %s", checkpointID, ctrName)
err2 = fmt.Errorf("checkpoint %s does not exist for container %s", checkpointID, ctrName)
case err == nil && stat.IsDir():
err2 = nil
case err == nil: