Skip to content

Conversation

@brendanjryan
Copy link
Contributor

Breaks out the existing "output logging" logic used in kubeval into its own interface. This interface will be used for adding multiple "output options" to kubeval in the future.

Because of our reliance on global loggers (fmt) and the colors library - which also makes heavy use of global variables - this code is a little difficult to test in its current implementation. We would need to migrate completely away from colors and inject our own logger (to trap the output) which is far beyond this scope of this PR.

@brendanjryan
Copy link
Contributor Author

@garethr does this look ok?

It seems like i'm unable to assign you as a code reviewer 🙆‍♂

@garethr garethr merged commit 2e4542b into instrumenta:master Aug 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants