From 8ffe4f31a815f96e9b43ac38f083d295f76d20f2 Mon Sep 17 00:00:00 2001 From: blackflash997 Date: Fri, 23 Aug 2024 09:23:58 +0800 Subject: [PATCH] =?UTF-8?q?[BUG][Worker]=E6=9C=8D=E5=8A=A1=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E7=9A=84required=E8=AE=BE=E7=BD=AE=E4=B8=BAfalse?= =?UTF-8?q?=E4=B8=8D=E4=BC=9A=E5=86=99=E5=85=A5=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/datasophon/worker/handler/ConfigureServiceHandler.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/datasophon-worker/src/main/java/com/datasophon/worker/handler/ConfigureServiceHandler.java b/datasophon-worker/src/main/java/com/datasophon/worker/handler/ConfigureServiceHandler.java index 04259c07..98481eda 100644 --- a/datasophon-worker/src/main/java/com/datasophon/worker/handler/ConfigureServiceHandler.java +++ b/datasophon-worker/src/main/java/com/datasophon/worker/handler/ConfigureServiceHandler.java @@ -118,9 +118,6 @@ public ExecResult configure(Map> configFileMap, if (Constants.CUSTOM.equals(config.getConfigType())) { addToCustomList(iterator, customConfList, config); } - if (!config.isRequired() && !Constants.CUSTOM.equals(config.getConfigType())) { - iterator.remove(); - } if (config.getValue() instanceof Boolean || config.getValue() instanceof Integer) { logger.info("Convert boolean and integer to string"); config.setValue(config.getValue().toString());