diff --git a/docs/manual/Quick-Start Guides/14-linking-apps.md b/docs/manual/Quick-Start Guides/14-linking-apps.md index 4e0ea0b6741..52ed78feb76 100644 --- a/docs/manual/Quick-Start Guides/14-linking-apps.md +++ b/docs/manual/Quick-Start Guides/14-linking-apps.md @@ -33,13 +33,14 @@ function process (form) { function generatesvc(name, app, service) { + var svcname "" if (name == app) { - let svcname = name ; + svcname = name ; } else { - let svcname = name + "-" + app ; + svcname = name + "-" + app ; } if (service) { - let svcname = svcname + "-" + service ; + svcname = svcname + "-" + service ; } let svcdns = svcname + "." + "ix-" + name + ".svc.cluster.local" ; return svcdns; @@ -54,7 +55,7 @@ function generatesvc(name, app, service) {