diff --git a/app/messages/manifest_routes_update_message.rb b/app/messages/manifest_routes_update_message.rb index 161bff33c8a..00923bee92d 100644 --- a/app/messages/manifest_routes_update_message.rb +++ b/app/messages/manifest_routes_update_message.rb @@ -64,11 +64,12 @@ def contains_invalid_lb_algo?(routes) def manifest_route_mappings @manifest_route_mappings ||= routes.map do |route| - { + r = { route: ManifestRoute.parse(route[:route], route[:options]), - protocol: route[:protocol], - options: route[:options] + protocol: route[:protocol] } + r[:options] = route[:options] unless route[:options].nil? + r end end