Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.13.0
-
None
-
None
-
Unknown
Description
The `includeFolders` parameter of `camel-google-storage` component doesn't work.
The documentation (https://camel.apache.org/components/3.12.x/google-storage-component.html#_component_option_includeFolders) says that we just have to set the parameter to `false` in order to ignore folder elements of buckets,
but actually the parameter does the opposite : if it is `false`, only folder elements are included by Camel.
Responsible piece of code is here : https://github.com/apache/camel/blob/main/components/camel-google/camel-google-storage/src/main/java/org/apache/camel/component/google/storage/GoogleCloudStorageConsumer.java#L147
I think the condition is reversed