Skip to content

Commit

Permalink
Merge pull request #2293 from habitat-sh/doc-fix
Browse files Browse the repository at this point in the history
Approved by: @nobody from Nowhere
Merged by: The Sentinels
  • Loading branch information
thesentinels committed May 10, 2017
2 parents b3acf86 + 62251dd commit 7309cb9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 7309cb9

Please sign in to comment.