Merge pull request #154 from dotcloud/153-commitnorepo

Clearer information when listing images
Upstream-commit: 222c04a7e71a19491559cc81c6541f7474755400
Component: engine
This commit is contained in:
Sam Alba
2013-03-25 12:04:57 -07:00

View File

@ -559,8 +559,8 @@ func (srv *Server) CmdImages(stdin io.ReadCloser, stdout io.Writer, args ...stri
for id, image := range allImages {
if !*quiet {
for idx, field := range []string{
/* REPOSITORY */ "",
/* TAG */ "",
/* REPOSITORY */ "<none>",
/* TAG */ "<none>",
/* ID */ id,
/* CREATED */ HumanDuration(time.Now().Sub(image.Created)) + " ago",
/* PARENT */ srv.runtime.repositories.ImageName(image.Parent),