From 779b58fb733d5a86c35815208c10e6c3773ab80d Mon Sep 17 00:00:00 2001 From: Cameron Dawson Date: Wed, 16 Sep 2020 13:46:20 -0700 Subject: [PATCH] Fix New Relic after upgrading python package (#6764) --- bin/pre_deploy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/pre_deploy b/bin/pre_deploy index 0684586e821..aa2c8267db8 100755 --- a/bin/pre_deploy +++ b/bin/pre_deploy @@ -59,12 +59,12 @@ if [[ -v NEW_RELIC_CONFIG_FILE ]]; then # Report the deploy to New Relic using their Python agent. In addition to # the passed arguments, record-deploy references the environment variables # `NEW_RELIC_APP_NAME` and `NEW_RELIC_API_KEY`. - newrelic-admin record-deploy "$NEW_RELIC_APP_ID" \ - "$NEW_RELIC_CONFIG_FILE" \ - "$HEROKU_SLUG_COMMIT" \ + newrelic-admin record-deploy "$NEW_RELIC_CONFIG_FILE" \ "$DESCRIPTION" \ + "$HEROKU_SLUG_COMMIT" \ "$CHANGELOG" \ "$USER" + echo "-----> PRE-DEPLOY: Deployed to New Relic App: " $NEW_RELIC_APP_NAME fi echo "-----> PRE-DEPLOY: Complete!"