From 127f998f412a180e738d3124b598294336a130a4 Mon Sep 17 00:00:00 2001
From: wgzhao <wgzhao@gmail.com>
Date: Tue, 17 Sep 2024 21:40:10 +0800
Subject: [PATCH] [bugfix][core] use conf instead content to valid path

---
 core/src/main/java/com/wgzhao/addax/core/util/ConfigParser.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/java/com/wgzhao/addax/core/util/ConfigParser.java b/core/src/main/java/com/wgzhao/addax/core/util/ConfigParser.java
index 0c6c17e62..49964d72c 100644
--- a/core/src/main/java/com/wgzhao/addax/core/util/ConfigParser.java
+++ b/core/src/main/java/com/wgzhao/addax/core/util/ConfigParser.java
@@ -224,7 +224,7 @@ private static void validateJob(Configuration conf) {
         }
 
         for (String path : validPaths) {
-            if (content.get(path) == null) {
+            if (conf.get(path) == null) {
                 throw AddaxException.asAddaxException(FrameworkErrorCode.JOB_ERROR,
                         "The configuration item '" + path + "' is required");
             }