You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are glad that you are contributing by opening this issue.
Please make sure to include all the relevant context.
We will be here shortly.
If you are interested in contributing to our website project, please let us know!
You can check out our contributing guide on
👉 How to Participate in Project Contribution.
Search before asking
Linkis Component
linkis-computation-governance
Steps to reproduce
1、开发一个linkis引擎资源监控接口
2、底层使用了linkis-application-manager模块的RMUtils类的toUserResourceVo方法获取资源信息
3、返回的资源信息中maxResource节点信息错误
Expected behavior
RMUtils.toUserResourceVo方法能够正确返回资源的最大值、使用量
Your environment
Anything else
linkis-computation-governance/linkis-manager/linkis-application-manager/src/main/java/org/apache/linkis/manager/rm/utils/RMUtils.java类的130行错误的将minResource 设置到了userResourceVo的maxResource 属性中
Resource minResource = userResource.getMinResource(); if (minResource != null) { userResourceVo.setMaxResource( ResourceUtils.parse( ResourceUtils.toJSONString(minResource), new TypeReference<HashMap<String, Object>>() {})); }
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: