Skip to content

Update to support Gib - #315

Merged
alexandraBara merged 3 commits into
developmentfrom
bugfix/dimm
Oct 23, 2026
Merged

alexandraBara merged 3 commits into
developmentfrom
bugfix/dimm

Conversation

@graepaul

@graepaul graepaul commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • A small cleanup of the previous Dimm collector

Test plan

  • pytest test/unit
  • pytest test/functional (if applicable)
  • pre-commit run --all-files

Checklist

  • Added/updated tests (or explained why not)
  • Updated docs/README if behavior changed
  • No secrets or credentials committed

Comment thread nodescraper/utils.py
Comment on lines +288 to +300
SIZE_UNITS = {
"B": 1,
"KB": 1024,
"KIB": 1024,
"MB": 1024**2,
"MIB": 1024**2,
"GB": 1024**3,
"GIB": 1024**3,
"TB": 1024**4,
"TIB": 1024**4,
"PB": 1024**5,
"PIB": 1024**5,
}

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Are the rest of the changes here necessary? I think this update alone will fix the bug

@alexandraBara
alexandraBara merged commit a5ba71e into development Oct 23, 2026
7 checks passed
@alexandraBara
alexandraBara deleted the bugfix/dimm branch October 23, 2026 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants