diff options
author | Kenta Tada <Kenta.Tada@sony.com> | 2019-10-14 21:19:08 +0900 |
---|---|---|
committer | Kenta Tada <Kenta.Tada@sony.com> | 2019-10-14 21:19:08 +0900 |
commit | bc32afadd90be121fadda34de369d4cc3a541d25 (patch) | |
tree | 9ef89c4850e04cfe8af483796b0365f6b818cb1b /pkg | |
parent | a8993bab7861e2181630a022484d3f55f706a460 (diff) | |
download | podman-bc32afadd90be121fadda34de369d4cc3a541d25.tar.gz podman-bc32afadd90be121fadda34de369d4cc3a541d25.tar.bz2 podman-bc32afadd90be121fadda34de369d4cc3a541d25.zip |
Fix sample's JSON syntax error in oci-hooks.5.md
Signed-off-by: Kenta Tada <Kenta.Tada@sony.com>
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/hooks/docs/oci-hooks.5.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/hooks/docs/oci-hooks.5.md b/pkg/hooks/docs/oci-hooks.5.md index fc0442283..0a01e1bb8 100644 --- a/pkg/hooks/docs/oci-hooks.5.md +++ b/pkg/hooks/docs/oci-hooks.5.md @@ -88,9 +88,9 @@ $ cat /etc/containers/oci/hooks.d/oci-systemd-hook.json "version": "1.0.0", "hook": { "path": "/usr/libexec/oci/hooks.d/oci-systemd-hook" - } + }, "when": { - "commands": [".*/init$" , ".*/systemd$"], + "commands": [".*/init$" , ".*/systemd$"] }, "stages": ["prestart", "poststop"] } @@ -105,9 +105,9 @@ $ cat /etc/containers/oci/hooks.d/oci-umount.json "hook": { "path": "/usr/libexec/oci/hooks.d/oci-umount", "args": ["oci-umount", "--debug"], - } + }, "when": { - "hasBindMounts": true, + "hasBindMounts": true }, "stages": ["prestart"] } |