From 0786d9ec22164afe17051e69dd462ebee6ddcbf9 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 --- commands.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands.go b/commands.go index 1c2f8d0fdc..0a6bff5a07 100644 --- a/commands.go +++ b/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),