Prettify hook JSON

Run prettier on the hook to beautify the JSON.

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
This commit is contained in:
Sascha Grunert 2020-04-09 14:53:46 +02:00
parent 60f165ad69
commit 16d41d876b
No known key found for this signature in database
GPG Key ID: 8CE029DD1A866E52

View File

@ -1,15 +1,13 @@
{ {
"version": "1.0.0", "version": "1.0.0",
"hook": { "hook": {
"path": "/usr/bin/nvidia-container-toolkit", "path": "/usr/bin/nvidia-container-toolkit",
"args": ["nvidia-container-toolkit", "prestart"], "args": ["nvidia-container-toolkit", "prestart"],
"env": [ "env": ["PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"]
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" },
] "when": {
}, "always": true,
"when": { "commands": [".*"]
"always": true, },
"commands": [".*"] "stages": ["prestart"]
},
"stages": ["prestart"]
} }