Skip to content

Commit

Permalink
Also stop experiment when slave agent stops
Browse files Browse the repository at this point in the history
  • Loading branch information
thierryr committed May 18, 2015
1 parent 83cb570 commit 713a7bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions brace2015/exp.oedl
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ defEvent :APP_EXITED do |state|
state.each do |resource|
# Trigger this event when the application 'agent_cxt_0' is stopped
triggered = true if (resource.type == 'application') && (resource.app == 'agent_cxt_0') && (resource.state == 'stopped')
triggered = true if (resource.type == 'application') && (resource.app == 'agent_cxt_1') && (resource.state == 'stopped')
end
triggered
end
Expand Down

0 comments on commit 713a7bd

Please sign in to comment.