Skip to content

Commit

Permalink
Fix due to self-review
Browse files Browse the repository at this point in the history
  • Loading branch information
sumo-drosiek committed May 18, 2020
1 parent 37f5132 commit 6750ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/helm/sumologic/upgrade-1.0.0.sh
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ function migrate_customer_keys() {

if [[ "${CASTS_STRING[*]}" =~ ${key} ]]; then
info "Casting ${key} to str"
# As yq doesn't cast `on` and `off` from bool to cast, we have to fo it manually
# As yq doesn't cast `on` and `off` from bool to cast, we use sed based casts
yq w -i ${TEMP_FILE} -- "${key}" "$(yq r "${OLD_VALUES_YAML}" "${key}")__YQ_REPLACEMENT_CAST"
sed -i '' 's/\(^.*: \)\(.*\)__YQ_REPLACEMENT_CAST/\1"\2"/g' ${TEMP_FILE}
fi
Expand Down

0 comments on commit 6750ff9

Please sign in to comment.