mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-05 05:38:30 +08:00
[Fix-6764]modifying prompt messages and modify dolphinscheduler_mysql.sql dolphinscheduler version (#6765)
* [FIX:201106]fix issue#6657 * replacement version number * update resource create error messag Co-authored-by: 张柏强 <zhangbaiqiang@lvshou.com> Co-authored-by: crane <zhangbq3306@163.com>
This commit is contained in:
parent
0aea5ae11a
commit
28f871e58b
@ -210,6 +210,8 @@ public enum Status {
|
||||
QUERY_WORKER_ADDRESS_LIST_FAIL(10178, "query worker address list fail ", "查询worker地址列表失败"),
|
||||
TRANSFORM_PROJECT_OWNERSHIP(10179, "Please transform project ownership [{0}]", "请先转移项目所有权[{0}]"),
|
||||
QUERY_ALERT_GROUP_ERROR(10180, "query alert group error", "查询告警组错误"),
|
||||
CURRENT_LOGIN_USER_TENANT_NOT_EXIST(10181, "the tenant of the currently login user is not specified", "未指定当前登录用户的租户"),
|
||||
|
||||
|
||||
UDF_FUNCTION_NOT_EXIST(20001, "UDF function not found", "UDF函数不存在"),
|
||||
UDF_FUNCTION_EXISTS(20002, "UDF function already exists", "UDF函数已存在"),
|
||||
|
@ -768,7 +768,7 @@ public class ResourcesServiceImpl extends BaseServiceImpl implements ResourcesSe
|
||||
putMsg(result,Status.HDFS_OPERATION_ERROR);
|
||||
}
|
||||
} else {
|
||||
putMsg(result,Status.TENANT_NOT_EXIST);
|
||||
putMsg(result,Status.CURRENT_LOGIN_USER_TENANT_NOT_EXIST);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1285,7 +1285,7 @@ public class ResourcesServiceImpl extends BaseServiceImpl implements ResourcesSe
|
||||
Tenant tenant = tenantMapper.queryById(user.getTenantId());
|
||||
if (tenant == null) {
|
||||
logger.error("tenant not exists");
|
||||
putMsg(result, Status.TENANT_NOT_EXIST);
|
||||
putMsg(result, Status.CURRENT_LOGIN_USER_TENANT_NOT_EXIST);
|
||||
return null;
|
||||
}
|
||||
return tenant.getTenantCode();
|
||||
|
@ -940,7 +940,7 @@ CREATE TABLE `t_ds_version` (
|
||||
-- ----------------------------
|
||||
-- Records of t_ds_version
|
||||
-- ----------------------------
|
||||
INSERT INTO `t_ds_version` VALUES ('1', '1.4.0');
|
||||
INSERT INTO `t_ds_version` VALUES ('1', '2.0.2');
|
||||
|
||||
|
||||
-- ----------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user