Browse Source

fix typo

Signed-off-by: innovimax <innovimax@gmail.com>
Innovimax 6 years ago
parent
commit
31348a2936
1 changed files with 1 additions and 1 deletions
  1. 1 1
      daemon/checkpoint.go

+ 1 - 1
daemon/checkpoint.go

@@ -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: