From d85e328966b3541cee053bf5eb6576dcfd4c49f8 Mon Sep 17 00:00:00 2001 From: shin- Date: Sun, 24 Mar 2013 15:01:41 -0700 Subject: [PATCH] Show instead of an empty string in docker images listing for images with no repository or tag Upstream-commit: 0786d9ec22164afe17051e69dd462ebee6ddcbf9 Component: engine --- components/engine/commands.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/engine/commands.go b/components/engine/commands.go index 1c2f8d0fdc..0a6bff5a07 100644 --- a/components/engine/commands.go +++ b/components/engine/commands.go @@ -554,8 +554,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 */ "", + /* TAG */ "", /* ID */ id, /* CREATED */ HumanDuration(time.Now().Sub(image.Created)) + " ago", /* PARENT */ srv.runtime.repositories.ImageName(image.Parent),