Skip to content

Commit

Permalink
pm unbound variable (#2161)
Browse files Browse the repository at this point in the history
Signed-off-by: Allen Li <[email protected]>
  • Loading branch information
qpdpQ authored Aug 26, 2024
1 parent 8a91a3f commit 5026687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cp3pt0-deployment/setup_tenant.sh
Original file line number Diff line number Diff line change
Expand Up @@ -616,6 +616,7 @@ function install_cs_operator() {
fi
title "Checking whether IBM Common Service operator exist..."
local pm="ibm-common-service-operator"
# Fresh install or upgrade CS operator in operator namespace
is_sub_exist "ibm-common-service-operator" "$OPERATOR_NS"
if [ $? -eq 0 ]; then
Expand All @@ -629,7 +630,6 @@ function install_cs_operator() {
fi
# Handle the upgrade for CS operator namespace in other namespaces in the tenant
local pm="ibm-common-service-operator"
local ns_list=$(${OC} get configmap namespace-scope -n ${OPERATOR_NS} -o jsonpath='{.data.namespaces}' --ignore-not-found)
if [[ -z "$ns_list" ]]; then
warning "Not found ConfigMap namespace-scope in namespace ${OPERATOR_NS}"
Expand Down

0 comments on commit 5026687

Please sign in to comment.