rrayst opened a new issue #1462:
URL: https://github.com/apache/camel-k/issues/1462


   **Version**: 1.0.0-nightly.202005130003
   
   **Problem**: On Windows, the whole file path passed to ``kamel run`` is used 
as the integration name.
   ```
   C:\ > kamel run git\camel-k\examples\Sample.java
   integration "gitcamel-kexamplessample" created
   ```
   
   On Linux, this is not the case.
   
   **Workaround**: Using a / instead of a \ works around the issue.
   ```
   C:\ > kamel run git\camel-k\examples/Sample.java
   integration "sample" created
   ```
   
   **Possible solution**: Use ``filepath.Base(..)`` instead of 
``path.Base(..)`` in 
https://github.com/apache/camel-k/blob/1.0.0-nightly.202005130003/pkg/util/kubernetes/sanitize.go#L33
 .


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

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


Reply via email to