Browse code

fix typo

Signed-off-by: innovimax <innovimax@gmail.com>

Innovimax authored on 2018/12/21 06:52:54
Showing 1 changed files
... ...
@@ -42,7 +42,7 @@ func getCheckpointDir(checkDir, checkpointID, ctrName, ctrID, ctrCheckpointDir s
42 42
 	} else {
43 43
 		switch {
44 44
 		case err != nil:
45
-			err2 = fmt.Errorf("checkpoint %s does not exists for container %s", checkpointID, ctrName)
45
+			err2 = fmt.Errorf("checkpoint %s does not exist for container %s", checkpointID, ctrName)
46 46
 		case err == nil && stat.IsDir():
47 47
 			err2 = nil
48 48
 		case err == nil: