Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions workflow/workflow_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,13 +204,6 @@ def _handle_pod_message(self, msg: PodMessage) -> None:
# The PodMessage has an 'instance', 'has_exit_code', and 'exit_code' values.
_LOGGER.info("PodMessage:\n%s", str(msg))

# ALL THIS CODE ADDED SIMPLY TO DEMONSTRATE THE USE OF THE API ADAPTER
# AND THE INSTANCE LAUNCHER FOR THE SIMPLEST OF WORKFLOWS: -
# THE "TWO-STEP NOP".
# THERE IS NO SPECIFICATION MANIPULATION NEEDED FOR THIS EXAMPLE
# THE STEPS HAVE NO INPUTS OR OUTPUTS.
# THIS FUNCTION PROBABLY NEEDS TO BE A LOT MORE SOPHISTICATED!

# Ignore anything without an exit code.
if not msg.has_exit_code:
_LOGGER.error("PodMessage has no exit code")
Expand Down