vsokolov00 opened a new issue #2495:
URL: https://github.com/apache/camel-k/issues/2495


   ### Cobra function `cmd.SetOut()` does not redirect output for some commands.
   for command output redirection this function is used 
https://github.com/apache/camel-k/blob/d9230bd1f92d2839adb37f819132a2ecd6b92ee4/e2e/support/test_support.go#L1331
   
   redirection works fine for `kamel get` `kamel kit` but the output of 
commands `kamel describe` `kamel help` `kamel dump` `kamel version` is not 
being redirected to the given io.Writer 
   **Redirection works for all commands if you set the external kamel binary to 
e.g 1.4.0**
   <img width="1035" alt="issue" 
src="https://user-images.githubusercontent.com/48914918/125309761-af161380-e33a-11eb-8f7d-524298d384d0.png";>
   
   _Problem was found here #2176 _
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to