mirror of
https://github.com/goharbor/harbor
synced 2025-04-22 17:59:30 +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{
|
systemInfo := SystemInfo{
|
||||||
HarborStorage: Storage{
|
HarborStorage: Storage{
|
||||||
Total: stat.Blocks * uint64(stat.Bsize),
|
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