mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-19 10:54:08 +01:00
change volume id type to topology.VolumeId
This commit is contained in:
1 parent
0121f35c12
commit
31e4dbfe38
6 files changed
+17
-15
No files matched your search
@@ -4,13 +4,15 @@ import (
|
||||
|
||||
)
|
||||
|
||||
type VolumeId uint32
|
||||
type VolumeInfo struct {
|
||||
Id uint32
|
||||
Id VolumeId
|
||||
Size int64
|
||||
}
|
||||
type Node struct {
|
||||
volumes map[uint64]VolumeInfo
|
||||
volumes map[VolumeId]VolumeInfo
|
||||
volumeLimit int
|
||||
Ip string
|
||||
Port int
|
||||
PublicUrl string
|
||||
}
|
||||
Reference in new issue
Block a user