Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
roachtest: handle errors in
filepath.Walk
Previously, the function passed to `filepath.Walk` would ignore errors, which is wrong: when there is an error, the `info` argument is nil, which would cause roachtest to crash with a nil pointer dereference. In this commit, we first check if there was an error walking the directory, and return it if so. Epic: none Release note: None
- Loading branch information