mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-30 06:18:02 +02:00
Merge pull request #1116 from wknet123/dev-precise-volume-size
Update for precising volume size. LGTM
This commit is contained in:
commit
fba88b79ac
@ -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