Skip to content

Commit 8f27710

Browse files
author
nianiB9
committed
streamline code example
1 parent b27bd0f commit 8f27710

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/Maestro/eg001TriggerWorkflow.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Status=$(
4848
"${Headers[@]}" \
4949
--output ${response}
5050
)
51+
#apx-snippet-end:GetWorkflowsList
5152
# If the status code returned is greater than 201 (OK / Accepted), display an error message with the API response.
5253
if [[ "$Status" -gt "201" ]]; then
5354
echo ""
@@ -84,7 +85,6 @@ echo ""
8485

8586
trigger_url=$(grep '"url":' $response | sed -n 's/.*"url": "\([^"]*\)".*/\1/p')
8687
decoded_trigger_url=$(echo $trigger_url | sed 's/\\u0026/\&/g')
87-
#apx-snippet-end:GetWorkflowsList
8888
#ds-snippet-end:Maestro1Step3
8989

9090
echo "Please input a name for the workflow instance: "

0 commit comments

Comments
 (0)