Skip to content

Commit

Permalink
Merge pull request #51 from iopipe/layers-api
Browse files Browse the repository at this point in the history
Update Layers API to layers.newrelic-external.com
  • Loading branch information
kolanos authored Apr 29, 2020
2 parents f1e1538 + 83d902c commit 2421cbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "serverless-newrelic-lambda-layers",
"version": "0.1.17",
"version": "0.1.18",
"description": "Serverless plugin for NewRelic APM AWS Lambda layers.",
"main": "dist/index.js",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ export default class NewRelicLambdaLayerPlugin {
private async getLayerArn(runtime: string, region: string) {
return util
.promisify(request)(
`https://${region}.nr-layers.iopipe.com/get-layers?CompatibleRuntime=${runtime}`
`https://${region}.layers.newrelic-external.com/get-layers?CompatibleRuntime=${runtime}`
)
.then(response => {
const awsResp = JSON.parse(response.body);
Expand Down

0 comments on commit 2421cbd

Please sign in to comment.