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

Optimize the unit display of resourcequota of used.objectstorage/size #5187

Merged
merged 5 commits into from
Nov 5, 2024

Conversation

nowinkeyy
Copy link
Contributor

No description provided.

Copy link

sweep-ai bot commented Nov 5, 2024

Hey @nowinkeyy, here is an example of how you can ask me to improve this pull request:

@Sweep Add unit tests for the new `ConvertBytesToString` function in `controllers/objectstorage/controllers/objectstorageuser_controller.go`. The tests should cover:
- Converting bytes to TiB (values >= 1<<40)
- Converting bytes to GiB (values >= 1<<30)
- Converting bytes to MiB (values >= 1<<20)
- Converting bytes to KiB (values >= 1<<10)
- Converting small byte values (< 1<<10)
- Edge cases like 0 bytes and boundary values

📖 For more information on how to use Sweep, please read our documentation.

@sealos-ci-robot
Copy link
Member

🤖 Generated by lychee action

Summary

Status Count
🔍 Total 2165
✅ Successful 491
⏳ Timeouts 0
🔀 Redirected 0
👻 Excluded 1670
❓ Unknown 0
🚫 Errors 2

Errors per input

Errors in frontend/desktop/README.md

Full action output

Full Github Actions output

@bxy4543 bxy4543 merged commit 9ff29cd into labring:main Nov 5, 2024
61 of 63 checks passed
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.

3 participants