This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch es-search
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 9c6505d1e798456895e1e038b372d6e74cfc253d
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Wed Jan 11 13:58:00 2023 +0100

    Elasticsearch Kamelets: Moving from Camel-Elasticsearch-Rest to 
Camel-Elastichsearch - Search Kamelet
    
    Signed-off-by: Andrea Cosentino <anco...@gmail.com>
---
 script/validator/validator.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/script/validator/validator.go b/script/validator/validator.go
index c880695c..0c37cbb7 100644
--- a/script/validator/validator.go
+++ b/script/validator/validator.go
@@ -410,7 +410,7 @@ func listKamelets(dir string) []KameletInfo {
 
 func verifyUsedParams(kamelets []KameletInfo) (errors []error) {
        for _, k := range kamelets {
-               if (k.FileName != 
"../../kamelets/azure-storage-blob-source.kamelet.yaml" && k.FileName != 
"../../kamelets/aws-s3-cdc-source.kamelet.yaml" && k.FileName != 
"../../kamelets/azure-storage-blob-cdc-source.kamelet.yaml" && k.FileName != 
"../../kamelets/google-storage-cdc-source.kamelet.yaml") {
+               if (k.FileName != 
"../../kamelets/azure-storage-blob-source.kamelet.yaml" && k.FileName != 
"../../kamelets/aws-s3-cdc-source.kamelet.yaml" && k.FileName != 
"../../kamelets/azure-storage-blob-cdc-source.kamelet.yaml" && k.FileName != 
"../../kamelets/google-storage-cdc-source.kamelet.yaml" && k.FileName != 
"../../kamelets/elasticsearch-search-source.kamelet.yaml") {
                used := getUsedParams(k.Kamelet)
                declared := getDeclaredParams(k.Kamelet)
                for p := range used {

Reply via email to