Skip to content

Commit b3a1e69

Browse files
authored
Merge pull request #270 from mythi/hooks-fix
README: fix hooks example per schema
2 parents b3102e9 + ef4b9d3 commit b3a1e69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ $ cat > /etc/cdi/vendor.json <<EOF
159159
{"hostPath": "tmpfs", "containerPath": "/tmp/data", "type": "tmpfs", "options": ["nosuid","strictatime","mode=755","size=65536k"]}
160160
],
161161
"hooks": [
162-
{"createContainer": {"path": "/bin/vendor-hook"} },
163-
{"startContainer": {"path": "/usr/bin/ldconfig"} }
162+
{"hookName": "createContainer", "path": "/bin/vendor-hook" },
163+
{"hookName": "startContainer", "path": "/usr/bin/ldconfig" }
164164
]
165165
}
166166
}

0 commit comments

Comments
 (0)