Skip to content

Commit

Permalink
chore: ensure both source/dest termination files are written on orche…
Browse files Browse the repository at this point in the history
…strator exit (#13817)
  • Loading branch information
tryangul committed Sep 4, 2024
1 parent a53c08a commit cf0a3d4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ object ContainerCommandFactory {
*/
fun orchestrator() =
"""
trap "touch $SOURCE_DIR/$TERMINATION_MARKER_FILE" EXIT
trap "touch $DEST_DIR/$TERMINATION_MARKER_FILE" EXIT
trap "touch $SOURCE_DIR/$TERMINATION_MARKER_FILE $DEST_DIR/$TERMINATION_MARKER_FILE" EXIT
$ORCHESTRATOR_APPLICATION_EXECUTABLE
""".trimIndent()

Expand Down

0 comments on commit cf0a3d4

Please sign in to comment.