1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

full container.Id display when notrunc is used

This commit is contained in:
odk- 2013-05-10 10:18:01 +02:00
parent 1c5e9f8a88
commit 82313b1de9

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 {