mirror of
https://github.com/goharbor/harbor
synced 2025-04-21 21:09:19 +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…
x
Reference in New Issue
Block a user