Skip to content

Commit

Permalink
[bugfix][core] use conf instead content to valid path
Browse files Browse the repository at this point in the history
  • Loading branch information
wgzhao committed Sep 17, 2024
1 parent 696f0e4 commit 127f998
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit 127f998

Please sign in to comment.