Skip to content

Commit edcb3f2

Browse files
authored
Merge pull request #142 from vlobzakov/1.5
Events filtering YAML corrected
2 parents 20a2bf1 + 1ff7277 commit edcb3f2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/creating-manifest/events.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@ type: update
2727
name: Event Subscription Example
2828

2929
onInstall:
30-
createFile [cp]: /tmp/result.txt
30+
createFile [cp]: /tmp/result.txt
3131

3232
onAfterScaleOut [cp]:
33-
cmd [cp]: echo 'New Compute node has been added' >> /tmp/result.txt
33+
cmd [cp]: echo 'New Compute node has been added' >> /tmp/result.txt
3434

3535
onAfterRestartNode [apache2]:
36-
cmd [cp]: echo 'Compute node with ID - ${events.response.nodeid} has been restarted' >> /tmp/result.txt
36+
cmd [cp]: echo 'Compute node with ID - ${events.response.nodeid} has been restarted' >> /tmp/result.txt
3737

3838
onAfterResetNodePassword [${nodes.cp[0].id}]:
39-
cmd [${nodes.cp[0].id}]: echo 'First compute node has been restarted' >> /tmp/result.txt
39+
cmd [${nodes.cp[0].id}]: echo 'First compute node has been restarted' >> /tmp/result.txt
4040
```
4141
``` json
4242
{

0 commit comments

Comments
 (0)