From 5026687e05f2740cf3fc29d963c071996e078b5f Mon Sep 17 00:00:00 2001 From: Allen Li <46284272+qpdpQ@users.noreply.github.com> Date: Mon, 26 Aug 2024 13:25:48 -0400 Subject: [PATCH] pm unbound variable (#2161) Signed-off-by: Allen Li --- cp3pt0-deployment/setup_tenant.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cp3pt0-deployment/setup_tenant.sh b/cp3pt0-deployment/setup_tenant.sh index ddaf1cad6..854e95cab 100755 --- a/cp3pt0-deployment/setup_tenant.sh +++ b/cp3pt0-deployment/setup_tenant.sh @@ -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 @@ -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}"