fix some minor mistakes in docs
Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/640a980e Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/640a980e Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/640a980e Branch: refs/heads/master Commit: 640a980e0e29fd287d022c7ebe274d90017b098a Parents: 335a575 Author: Alex Heneveld <[email protected]> Authored: Thu Jan 15 12:34:26 2015 +0000 Committer: Alex Heneveld <[email protected]> Committed: Thu Jan 15 16:33:00 2015 +0000 ---------------------------------------------------------------------- .../yaml/example_yaml/vanilla-bash-netcat-w-client.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/640a980e/docs/guide/yaml/example_yaml/vanilla-bash-netcat-w-client.yaml ---------------------------------------------------------------------- diff --git a/docs/guide/yaml/example_yaml/vanilla-bash-netcat-w-client.yaml b/docs/guide/yaml/example_yaml/vanilla-bash-netcat-w-client.yaml index 85a334a..fbf0505 100644 --- a/docs/guide/yaml/example_yaml/vanilla-bash-netcat-w-client.yaml +++ b/docs/guide/yaml/example_yaml/vanilla-bash-netcat-w-client.yaml @@ -14,13 +14,13 @@ services: # a failure detector and a service restarter work together brooklyn.enrichers: - - enricherType: brooklyn.policy.ha.ServiceFailureDetector + - type: brooklyn.policy.ha.ServiceFailureDetector brooklyn.config: # wait 15s after service fails before propagating failure serviceFailedStabilizationDelay: 15s brooklyn.policies: - - policyType: brooklyn.policy.ha.ServiceRestarter + - type: brooklyn.policy.ha.ServiceRestarter brooklyn.config: # repeated failures in a time window can cause the restarter to abort, # propagating the failure; a time window of 0 will mean it always restarts! @@ -45,7 +45,9 @@ services: # set the hostname of the netcat instance as an env var for the scripts env: - TARGET_HOSTNAME: $brooklyn:component("netcat-server").attributeWhenReady("host.name") + TARGET_HOSTNAME: + $brooklyn:component("netcat-server"). + attributeWhenReady("host.name") # start/check/stop are no-op launch.command: ""
