mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00
fix bug --format {{json.}} of events
Allow the `podman events --format` accept {{json.}} and complete small fix podman-events.1.md Signed-off-by: Qi Wang <qiwan@redhat.com>
This commit is contained in:
@ -142,7 +142,7 @@ $ sudo podman events --since 5m
|
||||
|
||||
Show Podman events in JSON Lines format
|
||||
```
|
||||
events --format json
|
||||
$ podman events --format json
|
||||
{"ID":"683b0909d556a9c02fa8cd2b61c3531a965db42158627622d1a67b391964d519","Image":"localhost/myshdemo:latest","Name":"agitated_diffie","Status":"cleanup","Time":"2019-04-27T22:47:00.849932843-04:00","Type":"container"}
|
||||
{"ID":"a0f8ab051bfd43f9c5141a8a2502139707e4b38d98ac0872e57c5315381e88ad","Image":"docker.io/library/alpine:latest","Name":"friendly_tereshkova","Status":"unmount","Time":"2019-04-28T13:43:38.063017276-04:00","Type":"container"}
|
||||
```
|
||||
|
Reference in New Issue
Block a user