Selaa lähdekoodia

Merge pull request #154 from dotcloud/153-commitnorepo

Clearer information when listing images
Sam Alba 12 vuotta sitten
vanhempi
commit
222c04a7e7
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      commands.go

+ 2 - 2
commands.go

@@ -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),