Skip to content

Use exec.ExitError.ExitCode() function from go 1.12

What does this MR do?

The existing code was written for go 1.8.7 where the ExitCode() function wasn't yet available. This MR updates the code to leverage the new function from Go 1.12.

Why was this MR needed?

To simplify the existing code.

Are there points in the code the reviewer needs to double check?

Does this MR meet the acceptance criteria?

  • Documentation created/updated
  • Added tests for this feature/bug
  • In case of conflicts with master - branch was rebased

What are the relevant issue numbers?

Closes #4403 (closed)

Merge request reports