From d63c5231acd410323fb8993004d1c71b09e1248f Mon Sep 17 00:00:00 2001
From: Chris Lu <chris.lu@gmail.com>
Date: Wed, 26 Sep 2012 02:02:15 -0700
Subject: [PATCH] url error

---
 weed-fs/src/pkg/topology/data_node.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/weed-fs/src/pkg/topology/data_node.go b/weed-fs/src/pkg/topology/data_node.go
index 0410df5f6..1df109da6 100644
--- a/weed-fs/src/pkg/topology/data_node.go
+++ b/weed-fs/src/pkg/topology/data_node.go
@@ -45,7 +45,7 @@ func (dn *DataNode) MatchLocation(ip string, port int) bool {
 	return dn.Ip == ip && dn.Port == port
 }
 func (dn *DataNode) Url() string {
-  return dn.Ip + strconv.Itoa(dn.Port)
+  return dn.Ip + ":" + strconv.Itoa(dn.Port)
 }
 
 func (dn *DataNode) ToMap() interface{} {