Skip to content

Fix Synthetics delete_test parameter name#603

Merged
therve merged 2 commits intoDataDog:masterfrom
jonathan-hosmer:patch-1
Oct 20, 2020
Merged

Fix Synthetics delete_test parameter name#603
therve merged 2 commits intoDataDog:masterfrom
jonathan-hosmer:patch-1

Conversation

@jonathan-hosmer
Copy link
Copy Markdown
Contributor

@jonathan-hosmer jonathan-hosmer commented Sep 24, 2020

Change doc string and error message to use the correct name for the public_ids parameter of delete_test.

What does this PR do?

Correct an error message to use the proper name of a parameter.

Description of the Change

Change doc string and error message to use the correct name for the public_ids parameter of delete_test.

Alternate Designs

N/A

Possible Drawbacks

N/A

Verification Process

Run code using incorrect type for parameter to ensure error message displays correctly.

Additional Notes

Also updated documentation here: DataDog/documentation#8640

Release Notes

Fix Synthetics delete_test parameter name in docstring and ApiError text.

Review checklist (to be filled by reviewers)

  • Feature or bug fix MUST have appropriate tests (unit, integration, etc...)
  • PR title must be written as a CHANGELOG entry (see why)
  • Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
  • PR must have one changelog/ label attached. If applicable it should have the backward-incompatible label attached.
  • PR should not have do-not-merge/ label attached.
  • If Applicable, issue must have kind/ and severity/ labels attached at least.

Change doc string and error message to use the correct name for the `public_ids` parameter of `delete_test`.
@jonathan-hosmer jonathan-hosmer requested a review from a team as a code owner September 24, 2020 22:25
@nmuesch nmuesch added the changelog/Fixed Fixed features results into a bug fix version bump label Sep 24, 2020
@nmuesch
Copy link
Copy Markdown
Contributor

nmuesch commented Sep 24, 2020

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 2 pipeline(s).

@nmuesch
Copy link
Copy Markdown
Contributor

nmuesch commented Sep 24, 2020

Thanks @jonathan-hosmer This looks good to me, mind just updating the PR title to reflect what this fixes (it'll get used in the changelog when we release)

@jonathan-hosmer jonathan-hosmer changed the title Update synthetics.py Fix Synthetics delete_test parameter name Sep 24, 2020
@jonathan-hosmer
Copy link
Copy Markdown
Contributor Author

jonathan-hosmer commented Sep 24, 2020 via email

@jirikuncar
Copy link
Copy Markdown
Contributor

/azp run DataDog.datadogpy.integration

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@therve therve merged commit ee09b0e into DataDog:master Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/Fixed Fixed features results into a bug fix version bump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants