You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "caishunfeng (via GitHub)" <gi...@apache.org> on 2023/02/16 05:37:44 UTC
[GitHub] [dolphinscheduler] caishunfeng commented on a diff in pull request #13571: Fix task instance will generate multiple times when retry interval is 0/s
caishunfeng commented on code in PR #13571:
URL: https://github.com/apache/dolphinscheduler/pull/13571#discussion_r1108034880
##########
dolphinscheduler-api/src/main/java/org/apache/dolphinscheduler/api/service/impl/ResourcesServiceImpl.java:
##########
@@ -872,9 +872,10 @@ public Map<String, Object> queryResourceList(User loginUser, ResourceType type,
Tenant tenant = tenantMapper.queryById(user.getTenantId());
if (tenant == null) {
- log.error("tenant not exists");
- putMsg(result, Status.CURRENT_LOGIN_USER_TENANT_NOT_EXIST);
- return null;
Review Comment:
I think we should keep this error msg, which can tell user the real reason.
--
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: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org