+
+ if len(s.EpList.Endpoints) == 0 {
+ s.EpList.Endpoints = append(s.EpList.Endpoints, trans.RmrEndpoint)
+ return s.updateRouteImpl(CREATE)
+ } else if s.EpList.HasEndpoint(&trans.RmrEndpoint) == false {
+ s.EpList.Endpoints = append(s.EpList.Endpoints, trans.RmrEndpoint)
+ return s.updateRouteImpl(MERGE)
+ }