Browse Source

Merge pull request #575 from odk-/notrunc-container-id

full container.Id display when notrunc is used
Victor Vieux 12 years ago
parent
commit
d270501de2
1 changed files with 6 additions and 1 deletions
  1. 6 1
      server.go

+ 6 - 1
server.go

@@ -262,7 +262,12 @@ func (srv *Server) Containers(all, trunc_cmd, only_ids bool, n int, since, befor
 		displayed++
 
 		c := ApiContainers{
-			Id: container.ShortId(),
+			Id: container.Id,
+		}
+		if trunc_cmd {
+			c = ApiContainers{
+				Id: container.ShortId(),
+			}
 		}
 
 		if !only_ids {