From c7dc3d4402adb40ea84c1cf4b7edd247fadd190d Mon Sep 17 00:00:00 2001 From: rmanach Date: Tue, 28 Oct 2025 21:52:39 +0100 Subject: [PATCH] fix table bottom --- docker/models.go | 2 +- utils/utils.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/models.go b/docker/models.go index ea04782..4f8f2aa 100644 --- a/docker/models.go +++ b/docker/models.go @@ -188,7 +188,7 @@ func (s *Service) UnmarshalJSON(data []byte) error { imageName = imageNameParts[0] } - tag := "?" + tag := "..." if len(imageNameParts) > 1 { tag = imageNameParts[1] } diff --git a/utils/utils.go b/utils/utils.go index 0a072d0..283a06f 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -339,7 +339,7 @@ func (t *Table) Render() { ) } - if idx+1 < len(t.rows) { + if idx < len(t.rows) { if t.rows[idx].next != nil { table = append(table, strings.Join(lineParts, t.colSeparator)) } else {