christophd commented on code in PR #3901: URL: https://github.com/apache/camel-k/pull/3901#discussion_r1048433923
########## pkg/util/source/inspector.go: ########## @@ -336,6 +336,11 @@ func (i *baseInspector) discoverKamelets(meta *Metadata) { } func (i *baseInspector) addDependencies(uri string, meta *Metadata, consumer bool) error { + if !strings.Contains(uri, ":") { Review Comment: the `DecodeComponent()` logic requires a scheme and a resource path part otherwise it will return nil (see https://github.com/apache/camel-k/blob/main/pkg/util/camel/camel_runtime_catalog.go#L185) so the uri you have mentioned with just `mycomponent` will fail with the new error `component not found for uri ...` -- 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