Commit cfaed53d authored by Yann D'Isanto's avatar Yann D'Isanto
Browse files

Merge branch 'fix/4-keeping-retired-app-fails-if-a-route-has-a-path' into 'master'

Resolve "keeping retired app fails if a route has a path"

Closes #4

See merge request to-be-continuous/cloud-foundry!4
parents ee639ef6 e11f0b2a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -647,7 +647,7 @@ stages:
    for route in $app_routes
    do
      route_hostname=$(echo "$route" | cut -d '.' -f1)
      route_domain=$(echo "$route" | cut -d '.' -f2-)
      route_domain=$(echo "$route" | cut -d '.' -f2- | cut -d '/' -f1)
      cf unmap-route "$app_name" "$route_domain" --hostname="$route_hostname"
    done
  }