router: pass node metadata to route instead of service metadata (#1855)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
f9bf562393
commit
bcc890e47c
@ -135,7 +135,7 @@ func (r *router) manageRoutes(service *registry.Service, action, network string)
|
||||
Router: r.options.Id,
|
||||
Link: DefaultLink,
|
||||
Metric: DefaultLocalMetric,
|
||||
Metadata: service.Metadata,
|
||||
Metadata: node.Metadata,
|
||||
}
|
||||
|
||||
if err := r.manageRoute(route, action); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user