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
hubble observe --json
does not print json
#602
Comments
Looking at the source, it seems like the legacy flags got broken by #536 - because we now set a default value, the fallback to deprecated options got broken (this also affects |
The flags have been deprecated since v0.5.0 release 1.5 year ago. The latest stable release is now v0.8. Should we just drop support for them at this point? |
Yes, let's remove them. |
Should we backport the above PR to the v0.8 branch or cook a patch for it? |
If there is an easy fix (I haven't found one without changing the |
An easy fix is to just ignore the default |
The command
hubble observe --json --last 1000 --follow --namespace default
does not print json. It does print a warning that--json
flag has been deprecated but the behavior is not the expected one. If a flag is deprecated the behavior should be kept until the flag is removed.The text was updated successfully, but these errors were encountered: