mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-10 22:08:48 +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
@@ -39,7 +39,7 @@ func dirLookupHandler(w http.ResponseWriter, r *http.Request) {
|
||||
vid = vid[0:commaSep]
|
||||
}
|
||||
volumeId, _ := strconv.ParseUint(vid, 10, 64)
|
||||
machine, e := mapper.Get(uint32(volumeId))
|
||||
machine, e := mapper.Get(topology.VolumeId(volumeId))
|
||||
if e == nil {
|
||||
writeJson(w, r, machine.Server)
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user