-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
For numbers < 1000 the unit should be "B" (bytes), not simply empty. This is technically an API break, but most places which use that (like, memory or storage device sizes) don't usually deal with such small numbers (except "0"), and cockpit-files already has a hack for this [1]. As cockpit-files, -podman, etc. bundle cockpit.js, this can be fixed at the time when updating cockpit lib, so it's not a sudden runtime breakage. Again, `format_bytes_per_sec()` already gets this right. [1] https://github.com/cockpit-project/cockpit-files/blob/8e078434f5/src/sidebar.jsx#L80
- Loading branch information
1 parent
597f701
commit 7ad70e4
Showing
4 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters