mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
cmd/podman: remove duplicated event ToHumanReadable()
ToHumanReadable() exists twice now, there is no reason for this just call the function on the backend event type is fine as this still has to be used there. It also fixes a bug where the wrong event type was passed to the template which did not match the docs and json output. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@ -116,9 +116,8 @@ Format the output to JSON Lines or using the given Go template.
|
||||
| .Network | Name of network being used (string) |
|
||||
| .PodID | ID of pod associated with container, if any |
|
||||
| .Status | Event status (e.g., create, start, died, ...) |
|
||||
| .Time ... | Event timestamp (string) |
|
||||
| .Time | Event timestamp (string) |
|
||||
| .TimeNano | Event timestamp with nanosecond precision (int64) |
|
||||
| .ToHumanReadable *bool* | If true, truncates CID in output |
|
||||
| .Type | Event type (e.g., image, container, pod, ...) |
|
||||
|
||||
#### **--help**
|
||||
|
Reference in New Issue
Block a user