claudio4j commented on pull request #2467:
URL: https://github.com/apache/camel-k/pull/2467#issuecomment-872382617


   The precedence applies only to trait/property keys from modeline and cli and 
in the case you mentioned, the values are correctly applied as `[]string`, 
example
   ```
   kamel run -o yaml files/JavaDuplicateParams.java -t knative.enabled=true -t 
knative.channel-sinks=chan1 -t knative.channel-sinks=chan2
   ```
   
   The output
   ```
     traits:
       knative:
         configuration:
           channelSinks:
           - chan1
           - chan2
           enabled: true
   ```


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