claudio4j opened a new issue #2466: URL: https://github.com/apache/camel-k/issues/2466
executing this command: ``` kamel run --name metrics --trait prometheus.enabled=true Metrics.java -w --dependency mvn:com.github.openshift-integration:camel-k-example-metrics:1.0.0-SNAPSHOT ``` I got this message: ``` Modeline options have been loaded from source files Full command: kamel run --name metrics --trait prometheus.enabled=true Metrics.java -w --dependency mvn:com.github.openshift-integration:camel-k-example-metrics:1.0.0-SNAPSHOT --trait=prometheus.enabled=true Error: 1 error(s) decoding: * 'enabled' expected type 'bool', got unconvertible type '[]string' ``` Metrics.java is taken from: https://github.com/apache/camel-k/blob/main/e2e/yaks/openshift/monitoring/Metrics.java . It seems the "enabled" property is both inferred from the integration and got from command line, causing a sort of double specification error ("type '[]string'"). -- 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]
