From d78edb49458c19b971cde8e0aa6e96b6b5c928e4 Mon Sep 17 00:00:00 2001 From: Enrico Regge <36001299+reggeenr@users.noreply.github.com> Date: Thu, 25 Apr 2024 14:56:00 +0200 Subject: [PATCH] Update function2job/run Co-authored-by: Enrique Encalada --- function2job/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/function2job/run b/function2job/run index ce057bea..74e40c6e 100755 --- a/function2job/run +++ b/function2job/run @@ -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