Commit aafc8dd
committed
fix: check container runtime is available in stop, restart and logs
run_detached and run_foreground both call check_available before they
touch the runtime, which routes a missing binary through
not_installed_error and produces an actionable message. stop, restart
and logs spawned the binary directly, so on a host without the
configured runtime they failed with a bare os error 2 that does not
name what was missing.1 parent 53ef0fa commit aafc8dd
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| 317 | + | |
317 | 318 | | |
318 | 319 | | |
319 | 320 | | |
320 | 321 | | |
321 | 322 | | |
322 | 323 | | |
323 | 324 | | |
| 325 | + | |
324 | 326 | | |
325 | 327 | | |
326 | 328 | | |
| |||
341 | 343 | | |
342 | 344 | | |
343 | 345 | | |
| 346 | + | |
344 | 347 | | |
345 | 348 | | |
346 | 349 | | |
| |||
0 commit comments