Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: missed prefix function usage in resource panel (#2612)
### TL;DR Fixes an issue with the `_prefixFormat` method default parameter and optimizes CUDA GPU description formatting. ### What changed? - Fixed default parameter value in `_prefixFormat` method from `'0;'` to `'0'`. - Optimized the CUDA GPU description formatting using the `_prefixFormat` helper method. ### How to test? - Verify that the `_prefixFormat` method functions correctly with default and custom parameters. - Ensure that CUDA GPU descriptions are formatted as expected in the resource monitor component. ### Why make this change? The change corrects the default parameter value in the `_prefixFormat` method and streamlines the GPU description formatting for consistency and clarity. --- <!-- Please precisely, concisely, and concretely describe what this PR changes, the rationale behind codes, and how it affects the users and other developers. --> **Checklist:** (if applicable) - [ ] Mention to the original issue - [ ] Documentation - [ ] Minium required manager version - [ ] Specific setting for review (eg., KB link, endpoint or how to setup) - [ ] Minimum requirements to check during review - [ ] Test case(s) to demonstrate the difference of before/after
- Loading branch information