Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix hapi plugin for hapi namespace change #634

Merged
merged 2 commits into from
Jul 23, 2019

Conversation

CNManning
Copy link
Contributor

What does this PR do?

Updates the hapi plugin to correctly handle recent hapi change to scoped package

Motivation

The hapi package was recently moved from 'hapi' to '@hapi/hapi' (changlog). This resulted in the hapi plugin no longer patching correctly. This affects hapi version >= 17.9 and >= 18.2. Version 18.0 to 18.1 still uses the old unscoped package name.

Plugin Checklist

@CNManning CNManning requested a review from a team as a code owner July 22, 2019 23:48
packages/datadog-plugin-hapi/src/index.js Outdated Show resolved Hide resolved
packages/datadog-plugin-hapi/src/index.js Outdated Show resolved Hide resolved
packages/datadog-plugin-hapi/src/index.js Outdated Show resolved Hide resolved
packages/datadog-plugin-hapi/src/index.js Outdated Show resolved Hide resolved
packages/datadog-plugin-hapi/src/index.js Outdated Show resolved Hide resolved
packages/datadog-plugin-hapi/src/index.js Outdated Show resolved Hide resolved
@rochdev rochdev added bug Something isn't working community integrations labels Jul 23, 2019
@rochdev rochdev added this to the 0.14.0 milestone Jul 23, 2019
@CNManning
Copy link
Contributor Author

I pushed a change to simplify the version ranges, based on the comments above. I was so focused on the version numbers that I totally overlooked that the module names are enough to prevent overlap.

@rochdev rochdev merged commit a8c233a into DataDog:master Jul 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working community integrations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants