mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-11-30 18:58:02 +08:00
[FIX] merge error
This commit is contained in:
parent
0e034ff12f
commit
6344843de0
@ -88,7 +88,7 @@ func (e *etcd) Fetch() ([]*Endpoint, error) {
|
||||
if err := json.Unmarshal(kv.Value, &ep); err != nil {
|
||||
return nil, fmt.Errorf("error parsing the data from etcd: %v", err)
|
||||
}
|
||||
ep.UUID = strings.Replace(string(kv.Key), e.key+"/", "", -1)
|
||||
ep.Ep = strings.Replace(string(kv.Key), e.key+"/", "", -1)
|
||||
res = append(res, &ep)
|
||||
}
|
||||
return res, nil
|
||||
|
@ -589,6 +589,7 @@ func (t *TenantServicesPortDaoImpl) HasOpenPort(sid string) bool {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
//GetDepUDPPort get all depend service udp port
|
||||
func (t *TenantServicesPortDaoImpl) GetDepUDPPort(serviceID string) ([]*model.TenantServicesPort, error) {
|
||||
|
Loading…
Reference in New Issue
Block a user