diff options
author | Matthias Beyer <matthias.beyer@atos.net> | 2021-02-16 07:58:13 +0100 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@atos.net> | 2021-02-16 08:02:21 +0100 |
commit | 04e7602e34987b832e1d2e95405f61443b30a641 (patch) | |
tree | ed79c8d93cf9e3e5cfbb765bbbf8df67539b0b3a /src/orchestrator/orchestrator.rs | |
parent | 09f5560442b13f8bf58152b36d8819ec309363fc (diff) |
Fix find_artifacts() to not fail if FS object moved
This patch fixes a bug in the crate::db::find_artifacts() implementation, which
caused the function to fail if the filesystem object was removed.
For example, if a package X was built and released, but then removed on the
filesystem, this function would try to find that object but fail and cause
butido to stop.
Because that's not what we want, this function does not fail anymore but simply
ignore the not-found object and return nothing for it.
Signed-off-by: Matthias Beyer <matthias.beyer@atos.net>
Tested-by: Matthias Beyer <matthias.beyer@atos.net>
Diffstat (limited to 'src/orchestrator/orchestrator.rs')
0 files changed, 0 insertions, 0 deletions