Merge pull request #38409 from innovimax/patch-1

fix typo
This commit is contained in:
Yong Tang 2019-01-04 23:35:09 -08:00 committed by GitHub
commit 0104abf0d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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: