Skip to content

Commit

Permalink
fix for when lsr is unset (#1865)
Browse files Browse the repository at this point in the history
Signed-off-by: YuChen <[email protected]>
  • Loading branch information
YCShen1010 authored Mar 15, 2024
1 parent b5fbe96 commit b6e0525
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cp3pt0-deployment/setup_singleton.sh
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,9 @@ EOF


function configure_lsr_instance() {
# Initialize LSR_CR_NAME only if it's unset or null
LSR_CR_NAME="${LSR_CR_NAME:-}"

title "Configuring License Service Reporter CR in $LSR_NAMESPACE..."
# checking LSR_CR_NAME
if [ -z "${LSR_CR_NAME}" ]; then
Expand Down

0 comments on commit b6e0525

Please sign in to comment.