Browse Source

change delete status according to delete action result

pull/3/MERGE
lenboo 5 years ago
parent
commit
ee8581b21e
  1. 2
      dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/log/LoggerRequestProcessor.java

2
dolphinscheduler-server/src/main/java/org/apache/dolphinscheduler/server/log/LoggerRequestProcessor.java

@ -96,7 +96,7 @@ public class LoggerRequestProcessor implements NettyRequestProcessor {
Boolean status = true; Boolean status = true;
try { try {
if (taskLogFile.exists()){ if (taskLogFile.exists()){
taskLogFile.delete(); status = taskLogFile.delete();
} }
}catch (Exception e){ }catch (Exception e){
status = false; status = false;

Loading…
Cancel
Save