rickchengx commented on code in PR #13878:
URL:
https://github.com/apache/dolphinscheduler/pull/13878#discussion_r1160381486
##########
dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/process/ProcessServiceImpl.java:
##########
@@ -1810,6 +1808,10 @@ private ResourceInfo updateResourceInfo(ResourceInfo
res) {
resourceInfo = new ResourceInfo();
// get resource from database, only one resource should be returned
Resource resource = getResourceById(resourceId);
+ if (Objects.isNull(resource)) {
Review Comment:
Hi, @LiJie20190102 , May I ask is there any other place that needs to check
if the resource is null like this?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]