浏览代码

Fix checkpoint ls

Use create=false when calling getCheckpointDir
Fix #33263

Signed-off-by: Jacob Wen <jian.w.wen@oracle.com>
Jacob Wen 8 年之前
父节点
当前提交
c0d2ec1eb5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      daemon/checkpoint.go

+ 1 - 1
daemon/checkpoint.go

@@ -103,7 +103,7 @@ func (daemon *Daemon) CheckpointList(name string, config types.CheckpointListOpt
 		return nil, err
 	}
 
-	checkpointDir, err := getCheckpointDir(config.CheckpointDir, "", name, container.ID, container.CheckpointDir(), true)
+	checkpointDir, err := getCheckpointDir(config.CheckpointDir, "", name, container.ID, container.CheckpointDir(), false)
 	if err != nil {
 		return nil, err
 	}