Skip to content

Commit 5862586

Browse files
Merge pull request #1443 from splunk/bugfix/CSPL-3435-fix-bias-lang-migration-script-logic
CSPL-3435 Fix bias_lang_migration.sh logic for monitoringConsole
2 parents 52ce0fb + 81f6a40 commit 5862586

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tools/bias_lang_migration.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,12 @@ get_current_deployment() {
541541
fi
542542

543543
# Updates CR to use new version (v4)
544-
convert_CR_version ${updated_name} ${CR} ${CR_NAME}
544+
if [[ "${CR}" == "MonitoringConsole" ]]; then
545+
cp ${original_name} ${updated_name}
546+
convert_CR_version ${updated_name} ${CR} ${CR_NAME}
547+
else
548+
convert_CR_version ${updated_name} ${CR} ${CR_NAME}
549+
fi
545550

546551
# Validate the updated CR is valid
547552
dry_run ${updated_name}

0 commit comments

Comments
 (0)