Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix possible IndexError #5494

Merged
merged 6 commits into from
Feb 21, 2020
Merged

Fix possible IndexError #5494

merged 6 commits into from
Feb 21, 2020

Conversation

ian28223
Copy link
Contributor

What does this PR do?

Fixes a possible IndexError if subcommand returns empty

Motivation

1825-postfix-check-doesnt-work-inside-docker-container

Additional Notes

  • this only addresses the IndexError resulting from the postconf binary being missing in a container.
  • does not make the postconf nor postqueue available in a container which are necessary for the check to work

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • PR title must be written as a CHANGELOG entry (see why)
  • Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
  • PR must have changelog/ and integration/ labels attached

@ofek ofek merged commit 0a586a5 into master Feb 21, 2020
@ofek ofek deleted the ian.bucad/postfix_indexerror branch February 21, 2020 05:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants