Skip to content

Commit

Permalink
fix message
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshat0694 committed Oct 5, 2023
1 parent 15c51e7 commit 2ac2275
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shell/sg-cli
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,9 @@ create_workflow() { #{{{ Create Workflow
"Workflow ResourceName is required in object payload"; then
continue
fi
# creating workflow
echo
echo ">> Processing workflow: $wf_id"

wfgrp_id="$(echo "${workflow}" \
| jq -r '.CLIConfiguration.WorkflowGroup.name')"
Expand All @@ -890,9 +893,6 @@ create_workflow() { #{{{ Create Workflow
continue

url="${API_URL}/orgs/${org_id}/wfgrps/${wfgrp_id}/wfs/"
# creating workflow
echo
echo ">> Processing workflow: $wf_id"
response=$(curl -i -s --http1.1 -X POST \
-H 'PrincipalId: "cli"' \
-H "Authorization: apikey ${API_TOKEN}" \
Expand Down

0 comments on commit 2ac2275

Please sign in to comment.