chore: didn't have the args correct

This commit is contained in:
Blair Vanderlugt 2021-09-20 14:49:32 +03:00
parent a062fa1e6f
commit de02b12424

View File

@ -5,7 +5,12 @@ set -a
mkdir -p $DEV_DATA_DIR/health
jq -n '{"CIC_REGISTRY_ADDRESS": "$CIC_REGISTRY_ADDRESS", "CIC_TRUST_ADDRESS": "$CIC_TRUST_ADDRESS", "RUN_MASK": "$RUN_MASK"}' > $DEV_DATA_DIR/health/readyz
source $DEV_DATA_DIR/env_reset
jq --arg CIC_REGISTRY_ADDRESS "$CIC_REGISTRY_ADDRESS" \
--arg CIC_TRUST_ADDRESS "$CIC_TRUST_ADDRESS" \
--arg RUN_MASK "$RUN_MASK" \
-n '{"CIC_REGISTRY_ADDRESS": $CIC_REGISTRY_ADDRESS, "CIC_TRUST_ADDRESS": $CIC_TRUST_ADDRESS, "RUN_MASK": $RUN_MASK}' > $DEV_DATA_DIR/health/readyz
cd $DEV_DATA_DIR/health