From c0d2ec1eb585a31e3d7734aef7acb753644c49c0 Mon Sep 17 00:00:00 2001 From: Jacob Wen Date: Thu, 18 May 2017 10:16:19 +0800 Subject: [PATCH] Fix checkpoint ls Use create=false when calling getCheckpointDir Fix #33263 Signed-off-by: Jacob Wen --- daemon/checkpoint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/checkpoint.go b/daemon/checkpoint.go index 9b83f04444..d3028f1e28 100644 --- a/daemon/checkpoint.go +++ b/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 }