From f79d68eeae7dbc2c1a6dc2d52a24eeed23ed36ab Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Wed, 27 Jan 2021 10:42:22 +0100 Subject: Fix podman history --no-trunc for the CREATED BY field Fixes #9120 Signed-off-by: Paul Holzinger --- cmd/podman/images/history.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') diff --git a/cmd/podman/images/history.go b/cmd/podman/images/history.go index 964c7a975..af40dd73a 100644 --- a/cmd/podman/images/history.go +++ b/cmd/podman/images/history.go @@ -162,7 +162,7 @@ func (h historyReporter) Size() string { } func (h historyReporter) CreatedBy() string { - if len(h.ImageHistoryLayer.CreatedBy) > 45 { + if !opts.noTrunc && len(h.ImageHistoryLayer.CreatedBy) > 45 { return h.ImageHistoryLayer.CreatedBy[:45-3] + "..." } return h.ImageHistoryLayer.CreatedBy -- cgit v1.2.3-54-g00ecf