full container.Id display when notrunc is used

Upstream-commit: 82313b1de9041896e33ddd8fab63924fb7bdebc3
Component: engine
This commit is contained in:
odk-
2013-05-10 10:18:01 +02:00
parent 5023ab483c
commit 603152d01a

View File

@ -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 {