Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor doc change to eachAlive sections #2293

Merged
merged 1 commit into from May 10, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion www/source/docs/create-packages-configure.html.md
Expand Up @@ -166,7 +166,7 @@ Example Template:
Iterates over a collection of members and renders the template for members that are marked alive.

{{~#eachAlive bind.backend.members as |member|}}
server ip {{member.ip}}:{{member.port}}
server ip {{member.sys.ip}}:{{member.cfg.port}}
{{~/eachAlive}}

### toJson Helper
Expand Down
2 changes: 1 addition & 1 deletion www/source/docs/run-packages-binding.html.md
Expand Up @@ -34,7 +34,7 @@ This says that `session-server` needs to bind to a service aliased as `database`
Once you've defined both ends of the contract you can leverage the bind in any of your package's hooks or configuration files. Given the two example services above, a section of a configuration file for `session-server` might look like this:

~~~
{{~#eachAlive bind.database.members as |member| }}
{{~#eachAlive bind.database.members as |member|}}
database = "{{member.sys.ip}}:{{member.cfg.port}}"
database-secure = "{{member.sys.ip}}:{{member.cfg.ssl-port}}"
{{~/eachAlive}}
Expand Down