From 82313b1de9041896e33ddd8fab63924fb7bdebc3 Mon Sep 17 00:00:00 2001 From: odk- Date: Fri, 10 May 2013 10:18:01 +0200 Subject: [PATCH] full container.Id display when notrunc is used --- server.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/server.go b/server.go index 3e95d5849d..e96497bff3 100644 --- a/server.go +++ b/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 {