mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
url error
This commit is contained in:
parent
7ee12f14a8
commit
d63c5231ac
|
@ -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{} {
|
||||
|
|
Loading…
Reference in a new issue