Print checkpoint id when creating a checkpoint

Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
Upstream-commit: f1df2d5a2e563bd38e797e33bce444edd346521c
Component: engine
This commit is contained in:
Arash Deshmeh
2016-12-01 23:28:51 -05:00
parent abe19725d9
commit 75273b586a

View File

@ -1,6 +1,8 @@
package checkpoint
import (
"fmt"
"golang.org/x/net/context"
"github.com/docker/docker/api/types"
@ -51,5 +53,6 @@ func runCreate(dockerCli *command.DockerCli, opts createOptions) error {
return err
}
fmt.Fprintf(dockerCli.Out(), "%s\n", opts.checkpoint)
return nil
}