full container.Id display when notrunc is used
This commit is contained in:
parent
1c5e9f8a88
commit
82313b1de9
|
@ -262,8 +262,13 @@ func (srv *Server) Containers(all, trunc_cmd, only_ids bool, n int, since, befor
|
|||
displayed++
|
||||
|
||||
c := ApiContainers{
|
||||
Id: container.Id,
|
||||
}
|
||||
if trunc_cmd {
|
||||
c = ApiContainers{
|
||||
Id: container.ShortId(),
|
||||
}
|
||||
}
|
||||
|
||||
if !only_ids {
|
||||
command := fmt.Sprintf("%s %s", container.Path, strings.Join(container.Args, " "))
|
||||
|
|
Loading…
Reference in New Issue