Correct typo in dbutils bash script

The dbutils script has a typo on the command unset as UNSET
thus the script doesn't understand the command. This causes a minor issue
where the value will not be correctly unset.

Change-Id: I0d208ec4844bd0c6dcc11dedbf3d199a8eb9ef0b
This commit is contained in:
Travis Neely 2020-09-14 09:48:10 -05:00
parent 50626ba3b6
commit 179e19a91f
1 changed files with 1 additions and 1 deletions

View File

@ -652,7 +652,7 @@ function do_cleanup() {
# If a namespace is given go ahead and try to clean it up.
if [[ ! -z "$2" ]]; then
remove_job "$2" "$ONDEMAND_JOB"
UNSET ONDEMAND_POD
unset ONDEMAND_POD
elif [[ "$KEEP_POD" == "false" && ! -z "$ONDEMAND_POD" ]]; then
IFS=', ' read -re -a USED_NAMESPACE_ARRAY <<< "$USED_NAMESPACES"