Skip to content

Commit

Permalink
Update function2job/run
Browse files Browse the repository at this point in the history
Co-authored-by: Enrique Encalada <[email protected]>
  • Loading branch information
reggeenr and qu1queee committed Apr 25, 2024
1 parent 963e34d commit d78edb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion function2job/run
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function delete_serviceids() {
service_ids=$(ibmcloud resource search "type:serviceid AND $1" --output JSON | jq -r '.items')
for service_id in $(echo "${service_ids}" | jq -r '.[] | @base64'); do
_jqServiceID() {
echo ${service_id} | base64 --decode | jq -r ${1}
echo "${service_id}" | base64 --decode | jq -r "${1}"
}
ibmcloud iam service-id-delete "$(_jqServiceID '.resource_id')" --force
done
Expand Down

0 comments on commit d78edb4

Please sign in to comment.