Skip to content
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

fix fall back disk calc #274

Merged
merged 5 commits into from
Aug 30, 2022
Merged

Conversation

sphen13
Copy link
Contributor

@sphen13 sphen13 commented Jul 28, 2022

df was returning disk size in kb and not gb

stumbled across this is testing.

grahampugh and others added 4 commits June 30, 2022 22:48
df was returning disk size in kb and not gb.
fallback to df check if purgeable space check results in zero (user not logged in probably)
@sphen13
Copy link
Contributor Author

sphen13 commented Jul 29, 2022

also found another issue related to this code. if a user is not logged in (i know not supported), the purgeable disk check returns 0. so falling back to df check in this case. worst case if they really have zero available df would return the same.

@grahampugh grahampugh changed the base branch from main to v27.0-rc August 30, 2022 20:11
@grahampugh grahampugh merged commit 15be3e0 into grahampugh:v27.0-rc Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants