From a9925c75213638ec25ec15e5e185acac8c0e6ff3 Mon Sep 17 00:00:00 2001 From: Dylan Meissner Date: Sat, 5 Dec 2015 10:02:39 -0800 Subject: [PATCH] The included Marathon tmpl converts multiple slashes in Marathon app names to dashes. --- templates/marathon.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/marathon.tmpl b/templates/marathon.tmpl index 13951b362..429f6eab7 100644 --- a/templates/marathon.tmpl +++ b/templates/marathon.tmpl @@ -9,7 +9,7 @@ [frontends.frontend{{.ID | replace "/" "-"}}] backend = "backend{{.ID | replace "/" "-"}}" passHostHeader = {{getPassHostHeader .}} - [frontends.frontend-{{.ID | replace "/" ""}}.routes.route-host-{{.ID | replace "/" ""}}] + [frontends.frontend{{.ID | replace "/" "-"}}.routes.route-host{{.ID | replace "/" "-"}}] rule = "{{getFrontendRule .}}" value = "{{getFrontendValue .}}" {{end}} \ No newline at end of file