Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This doesn't save much time for folks who are iterating over the removed errors (e.g. to print warnings about them), but Aleksa asked for it [1]. I haven't used it in runtimetest. I'm waiting for the in-flight 7aa3987 (cmd/runtimetest/main: Use TAP diagnostics for errors, 2017-07-28, opencontainers#439) to settle, since that commit cleans up some of the runtimetest error-processing code with: validations := defaultValidations if platform == "linux" { validations = append(validations, linuxValidations...) } and a single loop over the constructed validations array. I initially had FilterError returning (filtered, removed), but golint didn't like that: error should be the last type when returning multiple items [1]: opencontainers#492 (comment) Signed-off-by: W. Trevor King <wking@tremily.us>
- Loading branch information