mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 22:45:26 +08:00
[skip ci] Fix go lint warning of hardware_info.go (#9589)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
This commit is contained in:
parent
41bd866ff6
commit
6eb2fe6993
@ -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
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user