Skip to content

Commit 0eb6649

Browse files
author
Derek Smart
committed
output on actions not triggered
Signed-off-by: Derek Smart <derek.smart@delphix.com>
1 parent b5402de commit 0eb6649

File tree

1 file changed

+6
-2
lines changed
  • src/main/kotlin/com/delphix/yamlparser

1 file changed

+6
-2
lines changed

src/main/kotlin/com/delphix/yamlparser/Runner.kt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,12 @@ class Runner (
5252

5353
fun execActionPhase(environment: Environment) {
5454
for (action in environment.actions) {
55-
if (action.event == env["gitEvent"]) callDelphix(environment.datapod, environment.name, action.action)
56-
outputStatus(environment.name, action.event, action.action)
55+
if (action.event == env["gitEvent"]) {
56+
callDelphix(environment.datapod, environment.name, action.action)
57+
outputStatus(environment.name, action.event, action.action)
58+
} else {
59+
println("-${environment.name}: ${action.event}: Not Triggered.")
60+
}
5761
}
5862
}
5963

0 commit comments

Comments
 (0)