-
Notifications
You must be signed in to change notification settings - Fork 250
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
Add hubble observe flows #851
Conversation
fe137cd
to
9d05514
Compare
Hubble observe is now an alias for `hubble observe flows`. The only major difference is the help text for `hubble observe` is now briefer and indicates it is an alias for `hubble observe flows`. Additionally, while refactoring, I removed the flow formatting flags from the general formatting flagset and just moved it to it's own flagset. Signed-off-by: Chance Zibolski <chance.zibolski@gmail.com>
9d05514
to
cf7f8e4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for tackling this @chancez! 🙏 Tested and the patch LGTM to me as well.
One funny thing I noticed is that hubble observe flows
already works before this patch (I guess the missing subcommand invoke the parent because hubble observe foo
also show flows).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for picking this up! 🚀
@chancez I think this PR broke the shorthand flags:
Only occurs on master, v0.11 is fine. |
I think it's not just shorthand flags; formatting flags seem to be broken:
EDIT: selector flags as well it seems
|
@rolinh Ah. I guess tests and my manual usage weren't using these flags. Let's revert and I can try again. |
Hubble observe is now an alias for
hubble observe flows
. The only major difference is the help text forhubble observe
is now briefer and indicates it is an alias forhubble observe flows
. Additionally, while refactoring, I removed the flow formatting flags from the general formatting flagset and just moved it to it's own flagset.Fixes #543