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 Configmap/Mergeable Ingress Add/Update event logging #386

Merged
merged 3 commits into from
Oct 2, 2018

Conversation

Dean-Coakley
Copy link
Contributor

Proposed changes

  • When an ingress resource is updated with invalid changes, warning event is now correctly logged
    • When there is no warning, trailing nil is no longer printed
  • When a ConfigMap resource is updated with an invalid changes, warning event is now correctly logged
    • When there is no warning, trailing nil is no longer printed

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto master
  • I will ensure my PR is targeting the master branch and pulling from my branch from my own fork

* Bug introduced in: cca1389
* Changed the logged bug to reference the correct variable
* Built the eventMessage string prior to log to preserve code structure while not
printing errs when they are nil
* Bug introduced in: cca1389
* Changed the logged bug to the correct variable
* Built the bug string prior to log to preserve code structure while not
printing errs when they are nil
@Dean-Coakley Dean-Coakley added the bug An issue reporting a potential bug label Oct 2, 2018
@Dean-Coakley Dean-Coakley self-assigned this Oct 2, 2018
@Dean-Coakley Dean-Coakley merged commit b561c62 into master Oct 2, 2018
@Dean-Coakley Dean-Coakley deleted the fix-ing-err-events branch October 2, 2018 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue reporting a potential bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants