[skip ci] Fix go lint warning of hardware_info.go (#9589)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
This commit is contained in:
dragondriver 2021-10-09 19:35:02 +08:00 committed by GitHub
parent 41bd866ff6
commit 6eb2fe6993
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,12 +73,13 @@ func GetUsedMemoryCount() uint64 {
}
// TODO(dragondriver): not accurate to calculate disk usage when we use distributed storage
// GetDiskCount returns the disk count in bytes.
func GetDiskCount() uint64 {
return 100 * 1024 * 1024
}
// TODO(dragondriver): not accurate to calculate disk usage when we use distributed storage
// GetDiskUsage returns the disk usage in bytes.
func GetDiskUsage() uint64 {
return 2 * 1024 * 1024
}