-
Notifications
You must be signed in to change notification settings - Fork 344
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
kamel cli output redirection doesn't work for some commands #2495
Comments
Yeah, unfortunately I've noticed this as well. A simple strategy is to look for |
I would like to work on it. @squakez |
Noted, you can go ahead and let me know if you need any help. |
@rajibmitra any progress on this? I'd like to pick it up for 1.7.0 release. |
@squakez sorry, based on my current load it will take at least a few days to start. if its urgent please pick it up. thank you! |
No problem. We may need to start working on it in a few days. Thanks for your interest and feel free to pick up any other issue that you can contribute to. |
I'm working on it. |
Cobra function
cmd.SetOut()
does not redirect output for some commands.for command output redirection this function is used
camel-k/e2e/support/test_support.go
Line 1331 in d9230bd
redirection works fine for
kamel get
kamel kit
but the output of commandskamel describe
kamel help
kamel dump
kamel version
is not being redirected to the given io.WriterRedirection works for all commands if you set the external kamel binary to e.g 1.4.0
_Problem was found here #2176 _
The text was updated successfully, but these errors were encountered: