fix typo
Signed-off-by: innovimax <innovimax@gmail.com>
This commit is contained in:
parent
92b34ec9c6
commit
31348a2936
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue