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

Improving how warnings are displayed #299

Merged
merged 12 commits into from
Sep 9, 2021

Conversation

100mik
Copy link
Contributor

@100mik 100mik commented Aug 31, 2021

Changes:

  • deps_factory.go now has a function which returns a DynamicClient which does not produce warnings. Called MutedDynamicClient.
  • The ResourcesImpl now has a MutedDynamicClient , NewResourcesImpl() and all references updated accordingly.
  • All() in resources.go uses a MutedDynamicClient to make API calls.

@100mik 100mik linked an issue Aug 31, 2021 that may be closed by this pull request
pkg/kapp/cmd/app/inspect.go Outdated Show resolved Hide resolved
@100mik 100mik marked this pull request as ready for review September 2, 2021 10:35
test/e2e/warnings_test.go Outdated Show resolved Hide resolved
@cppforlife cppforlife merged commit 64719b6 into carvel-dev:develop Sep 9, 2021
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.

All K8s warning displayed while running any command
5 participants