summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-10-14 16:01:03 +0200
committerGitHub <noreply@github.com>2019-10-14 16:01:03 +0200
commit3e45d0730b4a17a91912eb161de30cb88e76bb33 (patch)
tree9ef89c4850e04cfe8af483796b0365f6b818cb1b
parenta8993bab7861e2181630a022484d3f55f706a460 (diff)
parentbc32afadd90be121fadda34de369d4cc3a541d25 (diff)
downloadpodman-3e45d0730b4a17a91912eb161de30cb88e76bb33.tar.gz
podman-3e45d0730b4a17a91912eb161de30cb88e76bb33.tar.bz2
podman-3e45d0730b4a17a91912eb161de30cb88e76bb33.zip
Merge pull request #4253 from KentaTada/fix-oci-hook-md
Fix sample's JSON syntax error in oci-hooks.5.md
-rw-r--r--pkg/hooks/docs/oci-hooks.5.md8
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"]
}