Skip to content

Commit

Permalink
print environment variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
pkrishn1-pk authored Mar 3, 2020
1 parent 3cff4a1 commit 6f7bf1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/delete_custom_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ function delete_image() {
_log "## Entering function: ${FUNCNAME[0]}"
# Command to delete Custom Image from user account.
# IC_IAM_TOKEN - Provided by IBM Cloud Schematics
printenv
curl -X DELETE \
"$rias_endpoint/v1/images/$custom_image_id?version=2020-01-28&generation=2" \
-H "Authorization: Bearer $IC_IAM_TOKEN" &> "$MSG_FILE"
Expand All @@ -82,6 +81,7 @@ MSG_FILE="/tmp/out.log" && rm -f "$MSG_FILE" &> /dev/null && touch "$MSG_FILE" &
rias_endpoint=""

# Main Script functions starts here
printenv
parse_input
select_riaas_endpoint
delete_image
Expand Down

0 comments on commit 6f7bf1b

Please sign in to comment.