astefanutti commented on issue #3412:
URL: https://github.com/apache/camel-k/issues/3412#issuecomment-1183187034

   @squakez as you pointed it out, the integration phase is set to error when 
the kit fails in: 
https://github.com/apache/camel-k/blob/37cba2f05ee3e59db3e2b8f18f88b887f15b9ac7/pkg/controller/integration/build_kit.go#L91
   
   I suspect this works, but the integration phase gets overwritten later with: 
https://github.com/apache/camel-k/blob/c3b9c9be36e219b593bb395795be817171a0b431/pkg/controller/integration/monitor.go#L230
   
   For some reasons, the phase is not set to error while introspecting the 
underlying deployment / pods. That being said, it may be more robust to force 
the phase to error in that case, which would likely provide a better error 
message. 


-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to