diff options
author | W. Trevor King <wking@tremily.us> | 2019-05-29 20:15:32 -0700 |
---|---|---|
committer | W. Trevor King <wking@tremily.us> | 2019-05-29 20:19:41 -0700 |
commit | 317a5c72c6bff47be1c562222995745a7159d6de (patch) | |
tree | 3ac34191d47a82dd831553ed5578ec27b2441211 /libpod/util_test.go | |
parent | c871653e195d8051ddfb899c2b73cc95de8e6443 (diff) | |
download | podman-317a5c72c6bff47be1c562222995745a7159d6de.tar.gz podman-317a5c72c6bff47be1c562222995745a7159d6de.tar.bz2 podman-317a5c72c6bff47be1c562222995745a7159d6de.zip |
libpod/container_internal: Make all errors loading explicitly configured hook dirs fatal
Remove this IsNotExist out which was added along with the rest of this
block in f6a2b6bf2b (hooks: Add pre-create hooks for runtime-config
manipulation, 2018-11-19, #1830). Besides the obvious "hook directory
does not exist", it was swallowing the less-obvious "hook command does
not exist". And either way, folks are likely going to want non-zero
podman exits when we fail to load a hook directory they explicitly
pointed us towards.
Signed-off-by: W. Trevor King <wking@tremily.us>
Diffstat (limited to 'libpod/util_test.go')
0 files changed, 0 insertions, 0 deletions