Skip to content

Commit

Permalink
fix(cache): cache-deployer should check both secret and config (#4186)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobgy committed Jul 9, 2020
1 parent 48f3075 commit e4f4250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/cache/deployer/deploy-cache-service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ if grep "${WEBHOOK_SECRET_NAME}" -w <cache_secret.txt; then
webhook_secret_exists=true
fi

if [ "$webhook_config_exists" == "true" ] && [ "$webhook_config_exists" == "true" ]; then
if [ "$webhook_config_exists" == "true" ] && [ "$webhook_secret_exists" == "true" ]; then
echo "Webhook config and secret are already installed. Sleeping forever."
sleep infinity
fi
Expand Down

0 comments on commit e4f4250

Please sign in to comment.