Skip to content

Commit

Permalink
remove --no-route from sd example docs
Browse files Browse the repository at this point in the history
- use '-d' instead so the route doesn't get deleted on every push
[#158192638]

Signed-off-by: Christian Ang <[email protected]>
  • Loading branch information
ameowlia authored and christianang committed Jun 11, 2018
1 parent 0bac735 commit 866625f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/c2c-with-service-discovery.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ cf start backend-a
Backend-B (example with internal route defined using CLI)
```
cd $DIR/backend-b
cf push backend-b --no-start --no-route
cf map-route backend-b apps.internal --hostname backend-b
cf push backend-b --no-start -d apps.internal
cf set-env backend-b CATS_PORTS "7007,7008"
cf set-env backend-b UDP_PORTS "9003,9004"
cf start backend-b
Expand Down

0 comments on commit 866625f

Please sign in to comment.