feat: improve linux distribution information get logic#11171
feat: improve linux distribution information get logic#11171ssongliu merged 4 commits into1Panel-dev:dev-v2from
Conversation
…ted services and frontend components
… name in GetDistro method
… in GetDistro method
…ry checks and consolidating logic
|
Adding the "do-not-merge/release-note-label-needed" label because no release-note block was detected, please follow our release note process to remove it. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
What this PR does / why we need it?
更换系统发行版的读取方式,通过os-release直接读取官方名称,如果没有找到再回退到原来取用方式,而不是用gopsutil参数拼接
Summary of your change
Please indicate you've done the following: