Skip to content

Fix(Disk): fix disk space unit #136

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Fix(Disk): fix disk space unit #136

wants to merge 4 commits into from

Conversation

stonebuzz
Copy link
Contributor

@stonebuzz stonebuzz commented Apr 30, 2025

Checklist before requesting a review

Please delete options that are not relevant.

  • I have performed a self-review of my code.
  • I have added tests (when available) that prove my fix is effective or that my feature works.
  • I have updated the CHANGELOG with a short functional description of the fix or new feature.
  • This change requires a documentation update.

Description

  • It fixes !37273

Since sccm 2409 (BuildNumber 9132)

TOTAL and FREE disk space is no more in KB but in MB

Screenshots (if appropriate):

@stonebuzz stonebuzz self-assigned this Apr 30, 2025
@stonebuzz stonebuzz marked this pull request as draft April 30, 2025 09:40
@stonebuzz
Copy link
Contributor Author

waitting customers validation

@stonebuzz stonebuzz requested a review from Rom1-B May 9, 2025 12:02
@stonebuzz stonebuzz added the bug label May 9, 2025
@stonebuzz stonebuzz marked this pull request as ready for review May 9, 2025 12:02
$PluginSccmSccmdb = new PluginSccmSccmdb();
$res = $PluginSccmSccmdb->connect();
if (!$res) {
die;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To avoid Die, maybe you can throw an exception and return false?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When we migrate the plugin, we will update this section (which is used throughout this class).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants