squakez commented on a change in pull request #2369:
URL: https://github.com/apache/camel-k/pull/2369#discussion_r646623827



##########
File path: pkg/cmd/run.go
##########
@@ -809,10 +817,19 @@ func loadPropertyFile(fileName string) 
(*properties.Properties, error) {
        return p, nil
 }
 
-func escapePropertyFileItem(item string) string {
-       item = strings.ReplaceAll(item, `=`, `\=`)
-       item = strings.ReplaceAll(item, `:`, `\:`)
-       return item
+func toPropertyEntry(props *properties.Properties, key string) (string, error) 
{
+       value, _ := props.Get(key)

Review comment:
       Now I've seen you already did it this way in the other function in 
`common.go`. I'd suggest just using this one then.




-- 
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:
[email protected]


Reply via email to