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

[DXCDT-157] Add datadog_region validation #192

Merged
merged 1 commit into from
Jun 16, 2022

Conversation

sergiught
Copy link
Contributor

@sergiught sergiught commented Jun 16, 2022

Description

Fixes: #145.

We are adding datadog_region validation in this one to help with understanding the cryptic error message we get when the region is wrong. Within our API we only accept the following case sensitive options:

      datadogRegion: {
        type: 'string',
        description: 'Datadog region',
        enum: ['us', 'eu', 'us3', 'us5'],
      },

Checklist

Note: Checklist required to be completed before a PR is considered to be reviewable.

Auth0 Code of Conduct

Auth0 General Contribution Guidelines

Changes include test coverage?

  • Yes
  • Not needed

Does the description provide the correct amount of context?

  • Yes, the description provides enough context for the reviewer to understand what these changes accomplish

Have you updated the documentation?

  • Yes, I've updated the appropriate docs
  • Not needed

Is this code ready for production?

  • Yes, all code changes are intentional and no debugging calls are left over

@sergiught sergiught self-assigned this Jun 16, 2022
@sergiught sergiught marked this pull request as ready for review June 16, 2022 13:33
@sergiught sergiught requested a review from a team as a code owner June 16, 2022 13:33
@sergiught sergiught merged commit 9b54c5d into main Jun 16, 2022
@sergiught sergiught deleted the patch/DXCDT-157-fix-datadog-logstream branch June 16, 2022 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provision log stream results in Payload validation error
2 participants