squakez commented on code in PR #5186:
URL: https://github.com/apache/camel-k/pull/5186#discussion_r1503800278


##########
pkg/trait/camel.go:
##########
@@ -200,10 +207,10 @@ func (t *camelTrait) computeConfigMaps(e *Environment) 
[]ctrl.Object {
                                        v1.IntegrationLabel: e.Integration.Name,
                                },
                                Annotations: map[string]string{
-                                       "camel.apache.org/source.language":    
string(s.InferLanguage()),
-                                       "camel.apache.org/source.loader":      
s.Loader,
-                                       "camel.apache.org/source.name":        
s.Name,
-                                       "camel.apache.org/source.compression": 
strconv.FormatBool(s.Compression),
+                                       camelSourceLanguageAnnotation:    
string(s.InferLanguage()),
+                                       camelSourceLoaderAnnotation:      
s.Loader,
+                                       camelSourceNameAnnotation:        
s.Name,
+                                       camelSourceCompressionAnnotation: 
strconv.FormatBool(s.Compression),

Review Comment:
   Yes. It was part of a more generic change and I thought it was a good 
improvement. I'm moving this to a separate work unit.



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

Reply via email to