tadayosi commented on PR #3471:
URL: https://github.com/apache/camel-k/pull/3471#issuecomment-1192192050

   Applied the 2nd approach of thorough nil checking.
   
   Good news is that most of the traits are bug free, as they are already 
guarded with the Integration Phase checking methods which means if Integration 
is absent they simply return false instead of crashing.
   
   Nonetheless I made it explicit by checking `e.Integration == nil` at the 
beginning of every trait's `Configure()` method so that we can easily 
distinguish if it's a trait targeted for Integration or not.


-- 
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