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:
		| @@ -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 { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user