diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-01-27 12:48:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-27 12:48:10 +0100 |
commit | 5c6175df390031bcf34d28935a79ee467cca7e7d (patch) | |
tree | c4e07d5a73aa1533a70b2440d87e22eb55cff3de /cmd/podman | |
parent | 2102e26506f392499b78297d25e24d591dee3bc8 (diff) | |
parent | f79d68eeae7dbc2c1a6dc2d52a24eeed23ed36ab (diff) | |
download | podman-5c6175df390031bcf34d28935a79ee467cca7e7d.tar.gz podman-5c6175df390031bcf34d28935a79ee467cca7e7d.tar.bz2 podman-5c6175df390031bcf34d28935a79ee467cca7e7d.zip |
Merge pull request #9122 from Luap99/fix-9120
Fix podman history --no-trunc for the CREATED BY field
Diffstat (limited to 'cmd/podman')
-rw-r--r-- | cmd/podman/images/history.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |