gansheer commented on code in PR #4812:
URL: https://github.com/apache/camel-k/pull/4812#discussion_r1354595808
##########
pkg/trait/camel.go:
##########
@@ -238,8 +239,9 @@ func (t *camelTrait) computeConfigMaps(e *Environment)
[]ctrl.Object {
)
}
- for i, s := range sources {
- if s.ContentRef != "" || e.isEmbedded(s) {
+ i := 0
Review Comment:
A little nitpick out of curiosity: what is the root cause for this change of
starting index value from 1 to 0 ?
--
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]