aboutsummaryrefslogtreecommitdiff
path: root/weed-fs/src/cmd
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2012-08-23 22:20:37 -0700
committerChris Lu <chris.lu@gmail.com>2012-08-23 22:20:37 -0700
commit31e4dbfe38c0c45831fcb47fa8f91c4f775e7c07 (patch)
tree36d4967099fd8915cab39f015f2791e67bccbeac /weed-fs/src/cmd
parent0121f35c12e9a89b09044bf02ec5a39d6ae0bce9 (diff)
downloadseaweedfs-31e4dbfe38c0c45831fcb47fa8f91c4f775e7c07.tar.xz
seaweedfs-31e4dbfe38c0c45831fcb47fa8f91c4f775e7c07.zip
change volume id type to topology.VolumeId
Diffstat (limited to 'weed-fs/src/cmd')
-rw-r--r--weed-fs/src/cmd/weed/master.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed-fs/src/cmd/weed/master.go b/weed-fs/src/cmd/weed/master.go
index dee94e965..6dc3b06b9 100644
--- a/weed-fs/src/cmd/weed/master.go
+++ b/weed-fs/src/cmd/weed/master.go
@@ -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 {