mirror of
https://github.com/goharbor/harbor
synced 2025-04-15 03:01:52 +00:00
Update for precising volume size.
This commit is contained in:
parent
fb3f001a47
commit
f6303672a0
|
@ -59,7 +59,7 @@ func (sia *SystemInfoAPI) GetVolumeInfo() {
|
|||
systemInfo := SystemInfo{
|
||||
HarborStorage: Storage{
|
||||
Total: stat.Blocks * uint64(stat.Bsize),
|
||||
Free: stat.Bfree * uint64(stat.Bsize),
|
||||
Free: stat.Bavail * uint64(stat.Bsize),
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user