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

abeizn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new 0015a315 fix(config-ui): turn off data provider validation in advanced 
mode
0015a315 is described below

commit 0015a315c7fadcd9e436d15c7bf585095c1e3a87
Author: mintsweet <[email protected]>
AuthorDate: Tue Sep 27 16:53:57 2022 +0800

    fix(config-ui): turn off data provider validation in advanced mode
---
 config-ui/src/hooks/usePipelineValidation.jsx | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/config-ui/src/hooks/usePipelineValidation.jsx 
b/config-ui/src/hooks/usePipelineValidation.jsx
index 945d8bfb..f1cd789b 100644
--- a/config-ui/src/hooks/usePipelineValidation.jsx
+++ b/config-ui/src/hooks/usePipelineValidation.jsx
@@ -149,17 +149,6 @@ function usePipelineValidation({
         errs.push('Advanced Pipeline: Invalid Tasks Array Structure!')
       }
 
-      if (
-        Array.isArray(tasksAdvanced) &&
-        !tasksAdvanced
-          ?.flat()
-          .every((aT) => allowedProviders.includes(aT.Plugin || aT.plugin))
-      ) {
-        errs.push(
-          'Advanced Pipeline: Unsupported Data Provider Plugin Detected!'
-        )
-      }
-
       console.log('>>> Advanced Pipeline Validation Errors? ...', errs)
     }
     setErrors(errs)

Reply via email to