You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need to revisit below code block which is written to comment all all occurrences of UserStorePasswordMigrator
in migration config.yaml
#if [ "$migratingVersion" = "6.0.0" ] || [ "$migratingVersion" = "6.1.0" ] || [ "$migratingVersion" = "6.2.0" ]; then
# cd "$MIGRATION_RESOURCES_NEW_IS_UBUNTU"
# migration_config_file="$MIGRATION_RESOURCES_NEW_IS_UBUNTU/migration-config.yaml"
# if [ -f "$migration_config_file" ]; then
# Find the line numbers of the occurrences of "UserStorePasswordMigrator"
# line_numbers=$(grep -n "UserStorePasswordMigrator" "$migration_config_file" | cut -d ":" -f 1)
#
# if [ -n "$line_numbers" ]; then
# # Loop through each line number and comment the line, as well as the lines below it until a line without any letter
# IFS=$'\n' read -d '' -r -a line_number_array <<<"$line_numbers"
# for line_number in "${line_number_array[@]}"; do
# sed -i.bak "${line_number}s~^~#~" "$migration_config_file"
# for ((next_line = line_number + 1; ; next_line++)); do
# line=$(sed -n "${next_line}p" "$migration_config_file")
# if [[ ! $line =~ [[:alpha:]] ]]; then
# break
# fi
# sed -i.bak "${next_line}s~^~#~" "$migration_config_file"
# done
# done
# rm "$migration_config_file.bak"
#
# echo "${GREEN}==> Commented all occurrences of UserStorePasswordMigrator and the lines below them until a line without any letter in the migration-config.yaml file.${RESET}"
# else
# echo "${RED}==> Failed to find any occurrences of UserStorePasswordMigrator in the migration-config.yaml file.${RESET}"
# fi
# else
# echo "${RED}==> migration-config.yaml file not found.${RESET}"
# fi
#fi
The text was updated successfully, but these errors were encountered:
Need to revisit below code block which is written to comment all all occurrences of UserStorePasswordMigrator
in migration config.yaml
The text was updated successfully, but these errors were encountered: